diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-11-05 00:05:25 +0000 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-11-05 00:05:25 +0000 |
commit | c37a7c10666ff98ecfb888c3d8e8f46220170e5d (patch) | |
tree | 79893955f60790108cfd6201109e1ec36f88f392 /Modules/gcmodule.c | |
parent | 3aaa5023faeab351003915da37a45590e1c9ccfa (diff) | |
download | cpython-c37a7c10666ff98ecfb888c3d8e8f46220170e5d.tar.gz |
Issue #10279: fix test_gc under Win64.
Diffstat (limited to 'Modules/gcmodule.c')
-rw-r--r-- | Modules/gcmodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index 3f96c42257..432efb3db4 100644 --- a/Modules/gcmodule.c +++ b/Modules/gcmodule.c @@ -1370,10 +1370,10 @@ _PyGC_Fini(void) && garbage != NULL && PyList_GET_SIZE(garbage) > 0) { char *message; if (debug & DEBUG_UNCOLLECTABLE) - message = "gc: %" PY_FORMAT_SIZE_T "d uncollectable objects at " \ + message = "gc: %zd uncollectable objects at " \ "shutdown"; else - message = "gc: %" PY_FORMAT_SIZE_T "d uncollectable objects at " \ + message = "gc: %zd uncollectable objects at " \ "shutdown; use gc.set_debug(gc.DEBUG_UNCOLLECTABLE) to list them"; if (PyErr_WarnFormat(PyExc_ResourceWarning, 0, message, PyList_GET_SIZE(garbage)) < 0) |