mirror of
https://github.com/python/cpython.git
synced 2025-10-06 07:02:33 +00:00
bpo-32436: Don't use native popcount() (also fixes bpo-32641) (#5292)
This commit is contained in:
parent
6b273f7f40
commit
b7a80d543e
2 changed files with 13 additions and 15 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue