Skip to content

Commit

Permalink
gh-126433: Change channel_info.count to int64_t (#126447)
Browse files Browse the repository at this point in the history
Fix compiler warnings on 32-bit Windows: change channel_info.count
type from Py_ssize_t to int64_t in _interpchannelsmodule.c.
  • Loading branch information
vstinner authored Nov 6, 2024
1 parent 6431f37 commit 09d7083
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 09d7083

Please sign in to comment.