From 768872e4e0bdec168fe82358614e4dfbfde1c779 Mon Sep 17 00:00:00 2001 From: Daan Date: Sun, 2 Jun 2024 16:24:13 -0700 Subject: [PATCH] typo in stress test --- test/test-stress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test-stress.c b/test/test-stress.c index 24dcf00f..544c2838 100644 --- a/test/test-stress.c +++ b/test/test-stress.c @@ -138,7 +138,7 @@ static bool visit_blocks(const mi_heap_t* heap, const mi_heap_area_t* area, void (void)(heap); (void)(area); size_t* total = (size_t*)arg; if (block != NULL) { - total += block_size; + *total += block_size; } return true; }