[Python-checkins] r42846 - python/trunk/Python/pythonrun.c

martin.v.loewis python-checkins at python.org
Sun Mar 5 06:33:54 CET 2006


Author: martin.v.loewis
Date: Sun Mar  5 06:33:54 2006
New Revision: 42846

Modified:
   python/trunk/Python/pythonrun.c
Log:
Use %Id for size_t-ish things on Win64.


Modified: python/trunk/Python/pythonrun.c
==============================================================================
--- python/trunk/Python/pythonrun.c	(original)
+++ python/trunk/Python/pythonrun.c	Sun Mar  5 06:33:54 2006
@@ -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 */


More information about the Python-checkins mailing list