summaryrefslogtreecommitdiff
path: root/Include/objimpl.h
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-16 14:56:14 +0000
committerMartin v. Löwis <martin@v.loewis.de>2006-02-16 14:56:14 +0000
commit41290685f9d5c7aed544bd5db90914ab82f9d213 (patch)
tree754afbf194ffef8e040c83382d9bd6c08af37828 /Include/objimpl.h
parentdf40ce3646a4bd099b10a5b92e7333e0141fef7e (diff)
downloadcpython-git-41290685f9d5c7aed544bd5db90914ab82f9d213.tar.gz
Change _PyObject_GC_Resize to expect Py_ssize_t.
Diffstat (limited to 'Include/objimpl.h')
-rw-r--r--Include/objimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/objimpl.h b/Include/objimpl.h
index a168c8b47b..ed521fe556 100644
--- a/Include/objimpl.h
+++ b/Include/objimpl.h
@@ -238,7 +238,7 @@ PyAPI_FUNC(long) PyGC_Collect(void);
#define PyObject_IS_GC(o) (PyType_IS_GC((o)->ob_type) && \
((o)->ob_type->tp_is_gc == NULL || (o)->ob_type->tp_is_gc(o)))
-PyAPI_FUNC(PyVarObject *) _PyObject_GC_Resize(PyVarObject *, int);
+PyAPI_FUNC(PyVarObject *) _PyObject_GC_Resize(PyVarObject *, Py_ssize_t);
#define PyObject_GC_Resize(type, op, n) \
( (type *) _PyObject_GC_Resize((PyVarObject *)(op), (n)) )