Kaydet (Commit) 4d7fc3c5 authored tarafından Benjamin Peterson's avatar Benjamin Peterson

undo PyInt -> PyLong change; that was wrong

üst 31289230
......@@ -357,7 +357,7 @@ _PyInt_FromUid(uid_t uid)
{
if (uid <= LONG_MAX)
return PyInt_FromLong(uid);
return PyInt_FromUnsignedLong(uid);
return PyLong_FromUnsignedLong(uid);
}
PyObject *
......@@ -365,7 +365,7 @@ _PyInt_FromGid(gid_t gid)
{
if (gid <= LONG_MAX)
return PyInt_FromLong(gid);
return PyInt_FromUnsignedLong(gid);
return PyLong_FromUnsignedLong(gid);
}
int
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment