summaryrefslogtreecommitdiffstats
path: root/Modules/_xxsubinterpretersmodule.c
diff options
context:
space:
mode:
authorneonene <53406459+neonene@users.noreply.github.com>2022-05-25 01:22:39 (GMT)
committerGitHub <noreply@github.com>2022-05-25 01:22:39 (GMT)
commitac1dcb8ee7745561407130bb917de3277528d4f6 (patch)
tree54b190f0147748b5ac701209b912f780797eabbd /Modules/_xxsubinterpretersmodule.c
parent08cfc3dabf0f81a4494cd0d697befc7d0dec77b7 (diff)
downloadcpython-ac1dcb8ee7745561407130bb917de3277528d4f6.zip
cpython-ac1dcb8ee7745561407130bb917de3277528d4f6.tar.gz
cpython-ac1dcb8ee7745561407130bb917de3277528d4f6.tar.bz2
gh-92434: Silence a compiler warning in _xxsubinterpretersmodule.c for 32bit version (gh-93091)
Diffstat (limited to 'Modules/_xxsubinterpretersmodule.c')
-rw-r--r--Modules/_xxsubinterpretersmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_xxsubinterpretersmodule.c b/Modules/_xxsubinterpretersmodule.c
index 9b1f186..ee04e30 100644
--- a/Modules/_xxsubinterpretersmodule.c
+++ b/Modules/_xxsubinterpretersmodule.c
@@ -2338,7 +2338,7 @@ channel_list_all(PyObject *self, PyObject *Py_UNUSED(ignored))
ids = NULL;
break;
}
- PyList_SET_ITEM(ids, i, id);
+ PyList_SET_ITEM(ids, (Py_ssize_t)i, id);
}
finally: