We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e90fa5 commit f2e0c45Copy full SHA for f2e0c45
Python/pythonrun.c
@@ -35,7 +35,8 @@
35
# if defined(MS_WIN64)
36
# define PRINT_TOTAL_REFS() fprintf(stderr, "[%Id refs]\n", _Py_RefTotal);
37
# else /* ! MS_WIN64 */
38
-# define PRINT_TOTAL_REFS() fprintf(stderr, "[%ld refs]\n", _Py_RefTotal);
+# define PRINT_TOTAL_REFS() fprintf(stderr, "[%ld refs]\n", \
39
+ Py_SAFE_DOWNCAST(_Py_RefTotal, Py_ssize_t, long));
40
# endif /* MS_WIN64 */
41
#endif
42
0 commit comments