]> granicus.if.org Git - python/commitdiff
Use %Id for size_t-ish things on Win64.
authorMartin v. Löwis <martin@v.loewis.de>
Sun, 5 Mar 2006 05:33:54 +0000 (05:33 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sun, 5 Mar 2006 05:33:54 +0000 (05:33 +0000)
Python/pythonrun.c

index 3f934d6ba26f0448b4c6de780aa28bdc5e1dd4ae..c4e387605c842fa5691fb0a125c5446dfa825a2a 100644 (file)
@@ -33,7 +33,7 @@
 #  define PRINT_TOTAL_REFS()
 #else /* Py_REF_DEBUG */
 #  if defined(MS_WIN64)
-#    define PRINT_TOTAL_REFS() fprintf(stderr, "[%zd refs]\n", _Py_RefTotal);
+#    define PRINT_TOTAL_REFS() fprintf(stderr, "[%Id refs]\n", _Py_RefTotal);
 #  else /* ! MS_WIN64 */
 #    define PRINT_TOTAL_REFS() fprintf(stderr, "[%ld refs]\n", _Py_RefTotal);
 #  endif /* MS_WIN64 */