From 09d7083962062acfef7e7a9a309a01fb70ad8276 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 6 Nov 2024 11:20:17 +0100 Subject: [PATCH] gh-126433: Change channel_info.count to int64_t (#126447) Fix compiler warnings on 32-bit Windows: change channel_info.count type from Py_ssize_t to int64_t in _interpchannelsmodule.c. --- Modules/_interpchannelsmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_interpchannelsmodule.c b/Modules/_interpchannelsmodule.c index 68ee429a9e1dfe..5dc032b46cac9a 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