diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pystate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pystate.c b/Python/pystate.c index 98882eb758..4dc3b81e4c 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -1467,7 +1467,7 @@ _str_shared(PyObject *obj, _PyCrossInterpreterData *data) static PyObject * _new_long_object(_PyCrossInterpreterData *data) { - return PyLong_FromLongLong((int64_t)(data->data)); + return PyLong_FromLongLong((intptr_t)(data->data)); } static int |