summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
diff options
context:
space:
mode:
authorMark Dickinson <mdickinson@enthought.com>2012-09-20 20:29:28 (GMT)
committerMark Dickinson <mdickinson@enthought.com>2012-09-20 20:29:28 (GMT)
commitc286e58044839bd8d946b12fee454ae861e6cdbc (patch)
treeb86e7f8b64fdd8f269c3a36a2020e920852a3d04 /Objects/longobject.c
parent4e12ad19c984dc8dfdb8c326b0ea44c490408579 (diff)
downloadcpython-c286e58044839bd8d946b12fee454ae861e6cdbc.zip
cpython-c286e58044839bd8d946b12fee454ae861e6cdbc.tar.gz
cpython-c286e58044839bd8d946b12fee454ae861e6cdbc.tar.bz2
Issue 15959: Fix type mismatch for quick{_neg}_int_allocs. Thanks Serhiy Storchaka.
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r--Objects/longobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index f2f63af..dfedfb7 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -30,7 +30,7 @@
*/
static PyLongObject small_ints[NSMALLNEGINTS + NSMALLPOSINTS];
#ifdef COUNT_ALLOCS
-int quick_int_allocs, quick_neg_int_allocs;
+Py_ssize_t quick_int_allocs, quick_neg_int_allocs;
#endif
static PyObject *