commit | 6db0e00d571781806cb850088365730fa64e80a6 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Wed Mar 01 16:56:25 2006 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Wed Mar 01 16:56:25 2006 +0000 |
tree | 7bf83d4ae13bca0e95636ac96926eb26cf552e93 | |
parent | 056a69cba6c6249b12ceffb7f00c324f5a8f16d4 [diff] [blame] |
Change GC refcount to Py_ssize_t.
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 @@ { 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