mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix warnings on x86 (32-bit).
This commit is contained in:
parent
3e90fa5940
commit
f2e0c45492
1 changed files with 2 additions and 1 deletions
|
@ -35,7 +35,8 @@
|
||||||
# if defined(MS_WIN64)
|
# if defined(MS_WIN64)
|
||||||
# define PRINT_TOTAL_REFS() fprintf(stderr, "[%Id 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_SAFE_DOWNCAST(_Py_RefTotal, Py_ssize_t, long));
|
||||||
# endif /* MS_WIN64 */
|
# endif /* MS_WIN64 */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue