| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 292afd1 commit 957cf8a
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -377,7 +377,7 @@ static inline void Py_DECREF(const char *filename, int lineno, PyObject *op) | |||
| 377 | 377 | #if SIZEOF_VOID_P > 4 | |
| 378 | 378 | /* If an object has been freed, it will have a negative full refcnt | |
| 379 | 379 | * If it has not it been freed, will have a very large refcnt */ | |
| 380 | - if (op->ob_refcnt_full <= 0 || op->ob_refcnt > (UINT32_MAX - (1<<20))) { | ||
| 380 | + if (op->ob_refcnt_full <= 0 || op->ob_refcnt > (((PY_UINT32_T)-1) - (1<<20))) { | ||
| 381 | 381 | #else | |
| 382 | 382 | if (op->ob_refcnt <= 0) { | |
| 383 | 383 | #endif | |
| Back | FazBrowse Home | New Git URL |
0 commit comments