| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -250,7 +250,7 @@ typedef union _gc_head { | |||
| 250 | 250 | struct { | |
| 251 | 251 | union _gc_head *gc_next; | |
| 252 | 252 | union _gc_head *gc_prev; | |
| 253 | - int gc_refs; | ||
| 253 | + Py_ssize_t gc_refs; | ||
| 254 | 254 | } gc; | |
| 255 | 255 | long double dummy; /* force worst-case alignment */ | |
| 256 | 256 | } PyGC_Head; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -303,7 +303,7 @@ visit_reachable(PyObject *op, PyGC_Head *reachable) | |||
| 303 | 303 | { | |
| 304 | 304 | if (PyObject_IS_GC(op)) { | |
| 305 | 305 | PyGC_Head *gc = AS_GC(op); | |
| 306 | - const int gc_refs = gc->gc.gc_refs; | ||
| 306 | + const Py_ssize_t gc_refs = gc->gc.gc_refs; | ||
| 307 | 307 | ||
| 308 | 308 | if (gc_refs == 0) { | |
| 309 | 309 | /* This is in move_unreachable's 'young' list, but | |
| Back | FazBrowse Home | New Git URL |
0 commit comments