From: Antoine Pitrou Date: Fri, 5 Nov 2010 00:05:25 +0000 (+0000) Subject: Issue #10279: fix test_gc under Win64. X-Git-Tag: v3.2a4~143 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b5d8204f0f07106319f8316295d2e7693d0dc25b;p=python Issue #10279: fix test_gc under Win64. --- 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)