]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-126433: Change channel_info.count to int64_t (#126447)
authorVictor Stinner <vstinner@python.org>
Wed, 6 Nov 2024 10:20:17 +0000 (11:20 +0100)
committerGitHub <noreply@github.com>
Wed, 6 Nov 2024 10:20:17 +0000 (15:50 +0530)
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

index 68ee429a9e1dfe54ace8e7101d2927fead5b86f9..5dc032b46cac9afbe630b3b1dac8c3398ef554d9 100644 (file)
@@ -2047,7 +2047,7 @@ struct channel_info {
             int recv;
         } cur;
     } status;
-    Py_ssize_t count;
+    int64_t count;
 };
 
 static int