From 745e117d49118c735dc88748b9250f07f6f80da1 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 5 Nov 2024 16:16:20 +0100 Subject: [PATCH] gh-126433: Change channel_info.count to int64_t 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