Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cb4d303

Browse files
committed
Add proper (getattrfunc) cast in Pcre_Type.
1 parent 266033e commit cb4d303

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/pcremodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ staticforward PyTypeObject Pcre_Type = {
164164
/* methods */
165165
(destructor)PyPcre_dealloc, /*tp_dealloc*/
166166
0, /*tp_print*/
167-
PyPcre_getattr, /*tp_getattr*/
167+
(getattrfunc)PyPcre_getattr, /*tp_getattr*/
168168
0, /*tp_setattr*/
169169
0, /*tp_compare*/
170170
0, /*tp_repr*/

0 commit comments

Comments
 (0)