commit | 17c7cd8d02361a104aaff4de20b2beb524ae3f47 | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Sat Jan 17 21:57:11 2009 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Sat Jan 17 21:57:11 2009 +0000 |
tree | 994df3e5fcd01776f52b062203fd9d59031d2a57 | |
parent | e4bc7f69c28b7edfbc9ccdf7be6b5249b38f6cbd [diff] [blame] |
Replace PyNumber_Int with PyNumber_Long.
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 @@ 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);