From: Tim Peters Date: Thu, 23 Mar 2006 05:41:24 +0000 (+0000) Subject: Heh -- used the right format for a refcount, but forgot X-Git-Tag: v2.5a0~129 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8af92d1f6ca8a99b8bcbd91d73a7d400d35facb3;p=python Heh -- used the right format for a refcount, but forgot to stop truncating it. --- diff --git a/Objects/object.c b/Objects/object.c index e598b69995..3404c35a32 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); }