Commit 2199c387 authored by Victor Stinner's avatar Victor Stinner

Issue #9566: Fix a compiler warning in tupleiter_setstate() on Windows x64

parent 2c72b51c
......@@ -997,7 +997,7 @@ tupleiter_reduce(tupleiterobject *it)
static PyObject *
tupleiter_setstate(tupleiterobject *it, PyObject *state)
{
long index = PyLong_AsLong(state);
Py_ssize_t index = PyLong_AsLong(state);
if (index == -1 && PyErr_Occurred())
return NULL;
if (it->it_seq != NULL) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment