summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-03-05 05:33:54 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-03-05 05:33:54 (GMT)
commit99b93c28247d6e150fe352538aa26b1ce19f8f0c (patch)
tree25a1c8c400f9cfadee8ff8387dab74808a17c0bb
parent5bab0f887295beeb8aad1b252863b93fd4f07f6a (diff)
downloadcpython-99b93c28247d6e150fe352538aa26b1ce19f8f0c.zip
cpython-99b93c28247d6e150fe352538aa26b1ce19f8f0c.tar.gz
cpython-99b93c28247d6e150fe352538aa26b1ce19f8f0c.tar.bz2
Use %Id for size_t-ish things on Win64.
-rw-r--r--Python/pythonrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 3f934d6..c4e3876 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -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 */