diff options
author | Guido van Rossum <guido@python.org> | 2006-08-24 23:43:52 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2006-08-24 23:43:52 (GMT) |
commit | f1624cd2d640949de2af6e6cd6ab75c1d95fe3a3 (patch) | |
tree | e177a792da047d8bc95746113ae4c4fc66c6a068 /Objects/listobject.c | |
parent | dc5f6b232be9f669f78d627cdcacc07d2ba167af (diff) | |
download | cpython-f1624cd2d640949de2af6e6cd6ab75c1d95fe3a3.zip cpython-f1624cd2d640949de2af6e6cd6ab75c1d95fe3a3.tar.gz cpython-f1624cd2d640949de2af6e6cd6ab75c1d95fe3a3.tar.bz2 |
Fix a bunch of compiler warnings. In at least one case these were serious bugs!
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r-- | Objects/listobject.c | 2 |
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)) |