From: Guido van Rossum Date: Mon, 20 Oct 1997 23:21:23 +0000 (+0000) Subject: Add proper (getattrfunc) cast in Pcre_Type. X-Git-Tag: v1.5b1~182 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb4d3032ae513b6aa18ee9c458eedccae52782e0;p=python Add proper (getattrfunc) cast in Pcre_Type. --- diff --git a/Modules/pcremodule.c b/Modules/pcremodule.c index d7615d1d70..73af3cad5d 100644 --- a/Modules/pcremodule.c +++ b/Modules/pcremodule.c @@ -164,7 +164,7 @@ staticforward PyTypeObject Pcre_Type = { /* methods */ (destructor)PyPcre_dealloc, /*tp_dealloc*/ 0, /*tp_print*/ - PyPcre_getattr, /*tp_getattr*/ + (getattrfunc)PyPcre_getattr, /*tp_getattr*/ 0, /*tp_setattr*/ 0, /*tp_compare*/ 0, /*tp_repr*/