commit | f1624cd2d640949de2af6e6cd6ab75c1d95fe3a3 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Aug 24 23:43:52 2006 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Aug 24 23:43:52 2006 +0000 |
tree | e177a792da047d8bc95746113ae4c4fc66c6a068 | |
parent | dc5f6b232be9f669f78d627cdcacc07d2ba167af [diff] [blame] |
Fix a bunch of compiler warnings. In at least one case these were serious bugs!
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 @@ 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))