From: neonene <53406459+neonene@users.noreply.github.com> Date: Wed, 25 May 2022 01:22:39 +0000 (+0900) Subject: gh-92434: Silence a compiler warning in _xxsubinterpretersmodule.c for 32bit version... X-Git-Tag: v3.12.0a1~1436 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ac1dcb8ee7745561407130bb917de3277528d4f6;p=thirdparty%2FPython%2Fcpython.git gh-92434: Silence a compiler warning in _xxsubinterpretersmodule.c for 32bit version (gh-93091) --- diff --git a/Modules/_xxsubinterpretersmodule.c b/Modules/_xxsubinterpretersmodule.c index 9b1f186c5b6c..ee04e308fe55 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: