diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-01-17 21:57:11 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-01-17 21:57:11 (GMT) |
commit | 17c7cd8d02361a104aaff4de20b2beb524ae3f47 (patch) | |
tree | 994df3e5fcd01776f52b062203fd9d59031d2a57 /Modules/grpmodule.c | |
parent | e4bc7f69c28b7edfbc9ccdf7be6b5249b38f6cbd (diff) | |
download | cpython-17c7cd8d02361a104aaff4de20b2beb524ae3f47.zip cpython-17c7cd8d02361a104aaff4de20b2beb524ae3f47.tar.gz cpython-17c7cd8d02361a104aaff4de20b2beb524ae3f47.tar.bz2 |
Replace PyNumber_Int with PyNumber_Long.
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 ca442e5..a58cb06 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); |