From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 14 Nov 2024 10:32:09 +0000 (+0100) Subject: [3.13] gh-126433: Change channel_info.count to int64_t (GH-126447) (#126826) X-Git-Tag: v3.13.1~108 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=64846f14d87cc8ddd4947b83aa90f6e3b0b2151e;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-126433: Change channel_info.count to int64_t (GH-126447) (#126826) gh-126433: Change channel_info.count to int64_t (GH-126447) Fix compiler warnings on 32-bit Windows: change channel_info.count type from Py_ssize_t to int64_t in _interpchannelsmodule.c. (cherry picked from commit 09d7083962062acfef7e7a9a309a01fb70ad8276) Co-authored-by: Victor Stinner --- diff --git a/Modules/_interpchannelsmodule.c b/Modules/_interpchannelsmodule.c index 8e6b21db76e0..4c1b4b5a76ce 100644 --- a/Modules/_interpchannelsmodule.c +++ b/Modules/_interpchannelsmodule.c @@ -2047,7 +2047,7 @@ struct channel_info { int recv; } cur; } status; - Py_ssize_t count; + int64_t count; }; static int