Add proper (getattrfunc) cast in Pcre_Type.

This commit is contained in:
Guido van Rossum 1997-10-20 23:21:23 +00:00
parent 266033e89b
commit cb4d3032ae

View file

@ -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*/