Use %Id for size_t-ish things on Win64.
This commit is contained in:
parent
5bab0f8872
commit
99b93c2824
@ -33,7 +33,7 @@
|
|||||||
# define PRINT_TOTAL_REFS()
|
# define PRINT_TOTAL_REFS()
|
||||||
#else /* Py_REF_DEBUG */
|
#else /* Py_REF_DEBUG */
|
||||||
# if defined(MS_WIN64)
|
# 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 */
|
# else /* ! MS_WIN64 */
|
||||||
# define PRINT_TOTAL_REFS() fprintf(stderr, "[%ld refs]\n", _Py_RefTotal);
|
# define PRINT_TOTAL_REFS() fprintf(stderr, "[%ld refs]\n", _Py_RefTotal);
|
||||||
# endif /* MS_WIN64 */
|
# endif /* MS_WIN64 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user