summaryrefslogtreecommitdiffstats
path: root/Objects/listobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r--Objects/listobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c
index 3d81656..9a11680 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -1979,7 +1979,7 @@ is_default_cmp(PyObject *cmpfunc)
return 1;
if (!PyCFunction_Check(cmpfunc))
return 0;
- f = (PyCFunction *)cmpfunc;
+ f = (PyCFunctionObject *)cmpfunc;
if (f->m_self != NULL)
return 0;
if (!PyString_Check(f->m_module))