diff options
Diffstat (limited to 'Modules/grpmodule.c')
-rw-r--r-- | Modules/grpmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/grpmodule.c b/Modules/grpmodule.c index ca442e5e5f..a58cb060a6 100644 --- a/Modules/grpmodule.c +++ b/Modules/grpmodule.c @@ -90,7 +90,7 @@ grp_getgrgid(PyObject *self, PyObject *pyo_id) unsigned int gid; struct group *p; - py_int_id = PyNumber_Int(pyo_id); + py_int_id = PyNumber_Long(pyo_id); if (!py_int_id) return NULL; gid = PyLong_AS_LONG(py_int_id); |