[Python-checkins] cpython (3.2): Issue 15959: Fix type mismatch for quick{_neg}_int_allocs. Thanks Serhiy

mark.dickinson python-checkins at python.org
Thu Sep 20 22:31:03 CEST 2012


http://hg.python.org/cpython/rev/5ed83105731d
changeset:   79069:5ed83105731d
branch:      3.2
parent:      79066:eccd94d4ee77
user:        Mark Dickinson <mdickinson at enthought.com>
date:        Thu Sep 20 21:29:28 2012 +0100
summary:
  Issue 15959: Fix type mismatch for quick{_neg}_int_allocs.  Thanks Serhiy Storchaka.

files:
  Objects/longobject.c |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Objects/longobject.c b/Objects/longobject.c
--- 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 *

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list