summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-04 19:58:13 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-04 19:58:13 +0000
commit00498c28b3afab617fe56d4c435296669849b624 (patch)
tree98abe6a2a2175eeac4e22139c1167e33607345b9 /Include
parentdb8455ad8b4cf9c3811c7e348f75c10d6d63e109 (diff)
downloadcpython-00498c28b3afab617fe56d4c435296669849b624.tar.gz
Use Py_ssize_t for _Py_RefTotal.
I tried to handle Win64 properly, but please review.
Diffstat (limited to 'Include')
-rw-r--r--Include/object.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/object.h b/Include/object.h
index 5db92db24e..2eb2b44c65 100644
--- a/Include/object.h
+++ b/Include/object.h
@@ -568,7 +568,7 @@ environment the global variable trick is not safe.)
* #ifdefs (we used to do that -- it was impenetrable).
*/
#ifdef Py_REF_DEBUG
-PyAPI_DATA(long) _Py_RefTotal;
+PyAPI_DATA(Py_ssize_t) _Py_RefTotal;
PyAPI_FUNC(void) _Py_NegativeRefcount(const char *fname,
int lineno, PyObject *op);
#define _Py_INC_REFTOTAL _Py_RefTotal++