From 85e660b8db6327986d7dec715137ae29285b350f Mon Sep 17 00:00:00 2001 From: Nathan Giddings Date: Sat, 4 Mar 2023 05:01:21 -0600 Subject: [PATCH] Fixed compile error in test --- tests/test_bitmapalloc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_bitmapalloc.c b/tests/test_bitmapalloc.c index 329ecb7..a6c6116 100644 --- a/tests/test_bitmapalloc.c +++ b/tests/test_bitmapalloc.c @@ -78,11 +78,12 @@ void test_heap(unsigned long size, unsigned long block_size, unsigned long bits, .cache = heap_cache, .cache_capacity = cache_capacity, .block_bits = bits, - .offset = (unsigned long)heap_data + .offset = (unsigned long)heap_data, + .mmap = NULL }; memmap_insert_region(&memory_map, 0, size, M_AVAILABLE); - int status = initialize_heap(&heap, &memory_map, NULL); + int status = initialize_heap(&heap, &memory_map); assert(!(!status != !result)); if(status) {