Index: intobject.c =================================================================== --- intobject.c (revision 61395) +++ intobject.c (working copy) @@ -1038,7 +1038,7 @@ static PyObject * int_getN(PyIntObject *v, void *context) { - return PyInt_FromLong((intptr_t)context); + return PyInt_FromLong((Py_intptr_t)context); } /* Convert an integer to the given base. Returns a string.