[Python-checkins] r43694 - python/trunk/Modules/gcmodule.c (original) (raw)
neal.norwitz python-checkins at python.org
Thu Apr 6 10:07:25 CEST 2006
- Previous message: [Python-checkins] r43693 - python/trunk/Modules/_ctypes/callproc.c
- Next message: [Python-checkins] buildbot warnings in ia64 Debian unstable trunk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: neal.norwitz Date: Thu Apr 6 10:07:25 2006 New Revision: 43694
Modified: python/trunk/Modules/gcmodule.c Log: Handle ssize_t
Modified: python/trunk/Modules/gcmodule.c
--- python/trunk/Modules/gcmodule.c (original) +++ python/trunk/Modules/gcmodule.c Thu Apr 6 10:07:25 2006 @@ -1037,7 +1037,7 @@ static int referrersvisit(PyObject* obj, PyObject *objs) { - int i; + Py_ssize_t i; for (i = 0; i < PyTuple_GET_SIZE(objs); i++) if (PyTuple_GET_ITEM(objs, i) == obj) return 1; @@ -1097,7 +1097,7 @@ static PyObject * gc_get_referents(PyObject *self, PyObject *args) { - int i; + Py_ssize_t i; PyObject *result = PyList_New(0);
if (result == NULL)
- Previous message: [Python-checkins] r43693 - python/trunk/Modules/_ctypes/callproc.c
- Next message: [Python-checkins] buildbot warnings in ia64 Debian unstable trunk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]