diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-02-16 14:56:14 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-02-16 14:56:14 (GMT) |
commit | 41290685f9d5c7aed544bd5db90914ab82f9d213 (patch) | |
tree | 754afbf194ffef8e040c83382d9bd6c08af37828 /Modules/gcmodule.c | |
parent | df40ce3646a4bd099b10a5b92e7333e0141fef7e (diff) | |
download | cpython-41290685f9d5c7aed544bd5db90914ab82f9d213.zip cpython-41290685f9d5c7aed544bd5db90914ab82f9d213.tar.gz cpython-41290685f9d5c7aed544bd5db90914ab82f9d213.tar.bz2 |
Change _PyObject_GC_Resize to expect Py_ssize_t.
Diffstat (limited to 'Modules/gcmodule.c')
-rw-r--r-- | Modules/gcmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ _PyObject_GC_NewVar(PyTypeObject *tp, Py_ssize_t nitems) } 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); |