summaryrefslogtreecommitdiffstats
path: root/Modules/resource.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/resource.c')
-rw-r--r--Modules/resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/resource.c b/Modules/resource.c
index b1dd5d1..8653f03 100644
--- a/Modules/resource.c
+++ b/Modules/resource.c
@@ -132,7 +132,7 @@ resource_getrlimit(PyObject *self, PyObject *args)
(LONG_LONG) rl.rlim_max);
}
#endif
- return Py_BuildValue("ii", (long) rl.rlim_cur, (long) rl.rlim_max);
+ return Py_BuildValue("ll", (long) rl.rlim_cur, (long) rl.rlim_max);
}
static PyObject *