commit | 41290685f9d5c7aed544bd5db90914ab82f9d213 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Thu Feb 16 14:56:14 2006 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Thu Feb 16 14:56:14 2006 +0000 |
tree | 754afbf194ffef8e040c83382d9bd6c08af37828 | |
parent | df40ce3646a4bd099b10a5b92e7333e0141fef7e [diff] [blame] |
Change _PyObject_GC_Resize to expect Py_ssize_t.
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index 4902eb5..42dfa15 100644 --- a/Modules/gcmodule.c +++ b/Modules/gcmodule.c
@@ -1284,7 +1284,7 @@ } PyVarObject * -_PyObject_GC_Resize(PyVarObject *op, int nitems) +_PyObject_GC_Resize(PyVarObject *op, Py_ssize_t nitems) { const size_t basicsize = _PyObject_VAR_SIZE(op->ob_type, nitems); PyGC_Head *g = AS_GC(op);