summaryrefslogtreecommitdiffstats
path: root/Objects/intobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/intobject.c')
-rw-r--r--Objects/intobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/intobject.c b/Objects/intobject.c
index 65c1c23..9158aa4 100644
--- a/Objects/intobject.c
+++ b/Objects/intobject.c
@@ -1038,7 +1038,7 @@ int_getnewargs(PyIntObject *v)
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.