summaryrefslogtreecommitdiff
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 40aaba1e18..dc7ce87afc 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -3530,7 +3530,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 *