Skip to content

Commit

Permalink
Fix conversion warning
Browse files Browse the repository at this point in the history
  • Loading branch information
colesbury committed Jan 5, 2024
1 parent c2a1692 commit 4586104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/pystate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 4586104

Please sign in to comment.