From ec12d7c7d7196258a2f050deefd553f5a85dda66 Mon Sep 17 00:00:00 2001 From: ToyB-Chan Date: Mon, 8 Jun 2026 10:45:57 +0200 Subject: [PATCH] Update minimal_heap_implementation.inl --- minimal_heap_implementation.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minimal_heap_implementation.inl b/minimal_heap_implementation.inl index 3e4f5bc..c87848d 100644 --- a/minimal_heap_implementation.inl +++ b/minimal_heap_implementation.inl @@ -374,7 +374,7 @@ MIHP_HeapMemoryAreaHeader* MIHP_CreateHeapMemoryArea(MIHP_HeapInfo* heap, size_t effectiveSize = MIHP_MAX(effectiveSize, heap->Config.MinimalMemoryAreaSize); effectiveSize = MIHP_MIN(effectiveSize, heap->Config.MaximalMemoryAreaSize); - MIHP_HeapMemoryAreaHeader* area = MIHP_PlatformRequestMemory(effectiveSize); + MIHP_HeapMemoryAreaHeader* area = (MIHP_HeapMemoryAreaHeader*)MIHP_PlatformRequestMemory(effectiveSize); if (area == NULL) return NULL;