https://github.com/python/cpython/commit/09d7083962062acfef7e7a9a309a01fb70ad8276
commit: 09d7083962062acfef7e7a9a309a01fb70ad8276
branch: main
author: Victor Stinner <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2024-11-06T15:50:17+05:30
summary:

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.

files:
M Modules/_interpchannelsmodule.c

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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to