summaryrefslogtreecommitdiff
path: root/Python/context.c
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2018-01-23 22:17:04 -0500
committerGitHub <noreply@github.com>2018-01-23 22:17:04 -0500
commitb7a80d543e1e94475ab9c8214f7a9eab4e63c9ab (patch)
tree3a76dbdbf6d24363150a589ef8025de05e7e1dc6 /Python/context.c
parent6b273f7f4056f8276f61a97c789d6bb4425e653c (diff)
downloadcpython-git-b7a80d543e1e94475ab9c8214f7a9eab4e63c9ab.tar.gz
bpo-32436: Don't use native popcount() (also fixes bpo-32641) (#5292)
Diffstat (limited to 'Python/context.c')
-rw-r--r--Python/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/context.c b/Python/context.c
index 2f1d0f5c34..5439531cd1 100644
--- a/Python/context.c
+++ b/Python/context.c
@@ -1171,7 +1171,7 @@ get_token_missing(void)
int
PyContext_ClearFreeList(void)
{
- int size = ctx_freelist_len;
+ Py_ssize_t size = ctx_freelist_len;
while (ctx_freelist_len) {
PyContext *ctx = ctx_freelist;
ctx_freelist = (PyContext *)ctx->ctx_weakreflist;