From 0cbdcfac94780061af20b3c39e9f21ab41ddd400 Mon Sep 17 00:00:00 2001 From: Daan Date: Tue, 11 Feb 2025 16:07:35 -0800 Subject: [PATCH] fix signed warning --- src/heap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/heap.c b/src/heap.c index 57bb2f52..ac67698a 100644 --- a/src/heap.c +++ b/src/heap.c @@ -63,7 +63,7 @@ static bool mi_heap_page_is_valid(mi_heap_t* heap, mi_page_queue_t* pq, mi_page_ static bool mi_heap_is_valid(mi_heap_t* heap) { mi_assert_internal(heap!=NULL); mi_heap_visit_pages(heap, &mi_heap_page_is_valid, NULL, NULL); - for (int bin = 0; bin < MI_BIN_COUNT; bin++) { + for (size_t bin = 0; bin < MI_BIN_COUNT; bin++) { mi_assert_internal(_mi_page_queue_is_valid(heap, &heap->pages[bin])); } return true;