From b962bc4eca0bffcc3dd58b9a5648d77275a27310 Mon Sep 17 00:00:00 2001 From: Stanislav Paskalev Date: Wed, 22 Nov 2023 17:16:58 +0200 Subject: [PATCH] update test-fuzz.c for new realloc api --- test-fuzz.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-fuzz.c b/test-fuzz.c index cbc9863..ba7e1ca 100644 --- a/test-fuzz.c +++ b/test-fuzz.c @@ -25,7 +25,7 @@ int main(void) } else { size = size*2; } - buddy_realloc(b, allocs[slot], size); + buddy_realloc(b, allocs[slot], size, true); } assert(buddy_tree_check_invariant(tree, buddy_tree_root()) == 0); allocs[slot] = 0; @@ -39,4 +39,4 @@ int main(void) assert(buddy_tree_check_invariant(tree, buddy_tree_root()) == 0); } } -} \ No newline at end of file +}