summaryrefslogtreecommitdiffstats
path: root/Objects/object.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2006-03-23 05:41:24 (GMT)
committerTim Peters <tim.peters@gmail.com>2006-03-23 05:41:24 (GMT)
commit8af92d1f6ca8a99b8bcbd91d73a7d400d35facb3 (patch)
treee9cd349bdd544c2233c0b37eb6a9310441546863 /Objects/object.c
parente98ccf66902f10ce2daaa33a22fb8ee8d99de18f (diff)
downloadcpython-8af92d1f6ca8a99b8bcbd91d73a7d400d35facb3.zip
cpython-8af92d1f6ca8a99b8bcbd91d73a7d400d35facb3.tar.gz
cpython-8af92d1f6ca8a99b8bcbd91d73a7d400d35facb3.tar.bz2
Heh -- used the right format for a refcount, but forgot
to stop truncating it.
Diffstat (limited to 'Objects/object.c')
-rw-r--r--Objects/object.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/object.c b/Objects/object.c
index e598b69..3404c35 100644
--- a/Objects/object.c
+++ b/Objects/object.c
@@ -141,7 +141,7 @@ _Py_NegativeRefcount(const char *fname, int lineno, PyObject *op)
PyOS_snprintf(buf, sizeof(buf),
"%s:%i object at %p has negative ref count "
"%" PY_FORMAT_SIZE_T "d",
- fname, lineno, op, (long)op->ob_refcnt);
+ fname, lineno, op, op->ob_refcnt);
Py_FatalError(buf);
}