Commit 8af92d1f authored by Tim Peters's avatar Tim Peters

Heh -- used the right format for a refcount, but forgot

to stop truncating it.
parent e98ccf66
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment