diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-03-01 16:56:25 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-03-01 16:56:25 (GMT) |
commit | 6db0e00d571781806cb850088365730fa64e80a6 (patch) | |
tree | 7bf83d4ae13bca0e95636ac96926eb26cf552e93 /Modules/gcmodule.c | |
parent | 056a69cba6c6249b12ceffb7f00c324f5a8f16d4 (diff) | |
download | cpython-6db0e00d571781806cb850088365730fa64e80a6.zip cpython-6db0e00d571781806cb850088365730fa64e80a6.tar.gz cpython-6db0e00d571781806cb850088365730fa64e80a6.tar.bz2 |
Change GC refcount to Py_ssize_t.
Diffstat (limited to 'Modules/gcmodule.c')
-rw-r--r-- | Modules/gcmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index 42dfa15..bf879c9 100644 --- a/Modules/gcmodule.c +++ b/Modules/gcmodule.c @@ -303,7 +303,7 @@ visit_reachable(PyObject *op, PyGC_Head *reachable) { if (PyObject_IS_GC(op)) { PyGC_Head *gc = AS_GC(op); - const int gc_refs = gc->gc.gc_refs; + const Py_ssize_t gc_refs = gc->gc.gc_refs; if (gc_refs == 0) { /* This is in move_unreachable's 'young' list, but |