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);