summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r--Objects/longobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index afa1b75..2e13d61 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -3391,7 +3391,7 @@ long_getnewargs(PyLongObject *v)
static PyObject *
long_getN(PyLongObject *v, void *context) {
- return PyLong_FromLong((intptr_t)context);
+ return PyLong_FromLong((Py_intptr_t)context);
}
static PyObject *