From a24d71f37418c709dc0f3bdaaab06e53a5d4ca1c Mon Sep 17 00:00:00 2001 From: Daan Leijen Date: Sun, 2 Mar 2025 17:10:24 -0800 Subject: [PATCH] fix compile warning --- src/page.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/page.c b/src/page.c index 5b9e7c40..8db2463f 100644 --- a/src/page.c +++ b/src/page.c @@ -943,8 +943,8 @@ static mi_page_t* mi_large_huge_page_alloc(mi_heap_t* heap, size_t size, size_t } else */ { - mi_heap_stat_increase(heap, malloc_huge, bsize); - mi_heap_stat_counter_increase(heap, malloc_huge_count, 1); + _mi_stat_increase(&heap->tld->stats.malloc_huge, bsize); + _mi_stat_counter_increase(&heap->tld->stats.malloc_huge_count, 1); } } return page;