From ac1dcb8ee7745561407130bb917de3277528d4f6 Mon Sep 17 00:00:00 2001 From: neonene <53406459+neonene@users.noreply.github.com> Date: Wed, 25 May 2022 10:22:39 +0900 Subject: gh-92434: Silence a compiler warning in _xxsubinterpretersmodule.c for 32bit version (gh-93091) --- Modules/_xxsubinterpretersmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v0.12