diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-04-06 08:07:25 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-04-06 08:07:25 (GMT) |
commit | ffb0d90a6ee9dbf6d8b738c4ae1c5415a2f9a628 (patch) | |
tree | f930f68795d67e6d913ef1794097cc5999cb4b5f /Modules | |
parent | 915ae41b3a614ffceedfe79d2b802e3162943e19 (diff) | |
download | cpython-ffb0d90a6ee9dbf6d8b738c4ae1c5415a2f9a628.zip cpython-ffb0d90a6ee9dbf6d8b738c4ae1c5415a2f9a628.tar.gz cpython-ffb0d90a6ee9dbf6d8b738c4ae1c5415a2f9a628.tar.bz2 |
Handle ssize_t
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/gcmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index 206d34a..a8976b3 100644 --- a/Modules/gcmodule.c +++ b/Modules/gcmodule.c @@ -1037,7 +1037,7 @@ gc_get_count(PyObject *self, PyObject *noargs) 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 @@ Return the list of objects that are directly referred to by objs."); static PyObject * gc_get_referents(PyObject *self, PyObject *args) { - int i; + Py_ssize_t i; PyObject *result = PyList_New(0); if (result == NULL) |