summaryrefslogtreecommitdiff
path: root/Python/context.c
diff options
context:
space:
mode:
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;