commit | 4281cef2057e24384a1d59b6bcf9e9161fde26e8 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sat Mar 04 19:58:13 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sat Mar 04 19:58:13 2006 +0000 |
tree | e0fd65002e09aa925f4a4594586e2fb471775e5e | |
parent | 9589ee276a7c863b137ee925e9e50745ef594b98 [diff] [blame] |
Use Py_ssize_t for _Py_RefTotal. I tried to handle Win64 properly, but please review.
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index 3219b1c..a33ac26 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c
@@ -604,7 +604,7 @@ static PyObject * sys_gettotalrefcount(PyObject *self) { - return PyInt_FromLong(_Py_RefTotal); + return PyInt_FromSsize_t(_Py_RefTotal); } #endif /* Py_TRACE_REFS */