[Python-checkins] r43244 - python/trunk/Objects/object.c

tim.peters python-checkins at python.org
Thu Mar 23 06:41:25 CET 2006


Author: tim.peters
Date: Thu Mar 23 06:41:24 2006
New Revision: 43244

Modified:
   python/trunk/Objects/object.c
Log:
Heh -- used the right format for a refcount, but forgot
to stop truncating it.


Modified: python/trunk/Objects/object.c
==============================================================================
--- python/trunk/Objects/object.c	(original)
+++ python/trunk/Objects/object.c	Thu Mar 23 06:41:24 2006
@@ -141,7 +141,7 @@
 	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);
 }
 


More information about the Python-checkins mailing list