Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 36859:4f628ecc30cb legacy-trunk
Fix warnings on x86 (32-bit).
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Mon, 06 Mar 2006 23:31:27 +0000 |
| parents | 4284b3324ce2 |
| children | 4706b7a1256c |
comparison
equal
deleted
inserted
replaced
| 36858:7fac5d79d043 | 36859:4f628ecc30cb |
|---|---|
| 33 # define PRINT_TOTAL_REFS() | 33 # define PRINT_TOTAL_REFS() |
| 34 #else /* Py_REF_DEBUG */ | 34 #else /* Py_REF_DEBUG */ |
| 35 # if defined(MS_WIN64) | 35 # if defined(MS_WIN64) |
| 36 # define PRINT_TOTAL_REFS() fprintf(stderr, "[%Id refs]\n", _Py_RefTotal); | 36 # define PRINT_TOTAL_REFS() fprintf(stderr, "[%Id refs]\n", _Py_RefTotal); |
| 37 # else /* ! MS_WIN64 */ | 37 # else /* ! MS_WIN64 */ |
| 38 # define PRINT_TOTAL_REFS() fprintf(stderr, "[%ld refs]\n", _Py_RefTotal); | 38 # define PRINT_TOTAL_REFS() fprintf(stderr, "[%ld refs]\n", \ |
| 39 Py_SAFE_DOWNCAST(_Py_RefTotal, Py_ssize_t, long)); | |
| 39 # endif /* MS_WIN64 */ | 40 # endif /* MS_WIN64 */ |
| 40 #endif | 41 #endif |
| 41 | 42 |
| 42 extern char *Py_GetPath(void); | 43 extern char *Py_GetPath(void); |
| 43 | 44 |
