commit | b7a80d543e1e94475ab9c8214f7a9eab4e63c9ab | [log] [tgz] |
---|---|---|
author | Yury Selivanov <yury@magic.io> | Tue Jan 23 22:17:04 2018 -0500 |
committer | GitHub <noreply@github.com> | Tue Jan 23 22:17:04 2018 -0500 |
tree | 3a76dbdbf6d24363150a589ef8025de05e7e1dc6 | |
parent | 6b273f7f4056f8276f61a97c789d6bb4425e653c [diff] [blame] |
bpo-32436: Don't use native popcount() (also fixes bpo-32641) (#5292)
diff --git a/Python/context.c b/Python/context.c index 2f1d0f5..5439531 100644 --- a/Python/context.c +++ b/Python/context.c
@@ -1171,7 +1171,7 @@ 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;