From 8af92d1f6ca8a99b8bcbd91d73a7d400d35facb3 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Thu, 23 Mar 2006 05:41:24 +0000 Subject: [PATCH] Heh -- used the right format for a refcount, but forgot to stop truncating it. --- Objects/object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/object.c b/Objects/object.c index e598b699959..3404c35a325 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); }