From 64846f14d87cc8ddd4947b83aa90f6e3b0b2151e Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 14 Nov 2024 11:32:09 +0100 Subject: [PATCH] [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 --- Modules/_interpchannelsmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3