]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue 15959: Fix type mismatch for quick{_neg}_int_allocs. Thanks Serhiy Storchaka.
authorMark Dickinson <mdickinson@enthought.com>
Thu, 20 Sep 2012 20:29:28 +0000 (21:29 +0100)
committerMark Dickinson <mdickinson@enthought.com>
Thu, 20 Sep 2012 20:29:28 +0000 (21:29 +0100)
Objects/longobject.c

index f2f63afbf69989bfb57dc17b1da5d1459720da6f..dfedfb7bfec4c5197764154eb0c95936e9288a6e 100644 (file)
@@ -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 *