Skip to content

Commit

Permalink
[3.13] gh-126433: Change channel_info.count to int64_t (GH-126447) (#…
Browse files Browse the repository at this point in the history
…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 09d7083)

Co-authored-by: Victor Stinner <[email protected]>
  • Loading branch information
miss-islington and vstinner authored Nov 14, 2024
1 parent 4fd6288 commit 64846f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/_interpchannelsmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2047,7 +2047,7 @@ struct channel_info {
int recv;
} cur;
} status;
Py_ssize_t count;
int64_t count;
};

static int
Expand Down

0 comments on commit 64846f1

Please sign in to comment.