summaryrefslogtreecommitdiffstats
path: root/Modules/gcmodule.c
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2000-09-22 22:35:36 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2000-09-22 22:35:36 (GMT)
commit7760cff29489fef6728ef7776d76fcc7b41c2488 (patch)
tree66e6a136d6ecf43528a092739b8f96eb8ccff261 /Modules/gcmodule.c
parent4a5eb967b8b50bfc301d83d5d3234501db8f0a17 (diff)
downloadcpython-7760cff29489fef6728ef7776d76fcc7b41c2488.zip
cpython-7760cff29489fef6728ef7776d76fcc7b41c2488.tar.gz
cpython-7760cff29489fef6728ef7776d76fcc7b41c2488.tar.bz2
Fix some long/"l" int/"i" mismatches. Fixes bug #113779.
Diffstat (limited to 'Modules/gcmodule.c')
-rw-r--r--Modules/gcmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c
index 62bc58e..cf88481 100644
--- a/Modules/gcmodule.c
+++ b/Modules/gcmodule.c
@@ -599,7 +599,7 @@ gc_collect(PyObject *self, PyObject *args)
gc_list_merge(&generation1, &generation2);
n = collect(&generation2, &generation2);
- return Py_BuildValue("i", n);
+ return Py_BuildValue("l", n);
}
static char gc_set_debug__doc__[] =
@@ -622,7 +622,7 @@ static char gc_set_debug__doc__[] =
static PyObject *
gc_set_debug(PyObject *self, PyObject *args)
{
- if (!PyArg_ParseTuple(args, "l:get_debug", &debug))
+ if (!PyArg_ParseTuple(args, "i:set_debug", &debug))
return NULL;
Py_INCREF(Py_None);