From 4586104c942a24ea1f09eacfa49b54a166417e4b Mon Sep 17 00:00:00 2001 From: Sam Gross Date: Fri, 5 Jan 2024 19:32:50 +0000 Subject: [PATCH] Fix conversion warning --- Python/pystate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/pystate.c b/Python/pystate.c index 12a8a02921058b..21f16b7bcdff0d 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -2539,7 +2539,7 @@ tstate_mimalloc_bind(PyThreadState *tstate) tld->segments.abandoned = &tstate->interp->mimalloc.abandoned_pool; // Initialize each heap - for (size_t i = 0; i < _Py_MIMALLOC_HEAP_COUNT; i++) { + for (uint8_t i = 0; i < _Py_MIMALLOC_HEAP_COUNT; i++) { _mi_heap_init_ex(&mts->heaps[i], tld, _mi_arena_id_none(), false, i); }