--- a/tests/util_allocator.c Wed Jul 03 22:07:42 2024 +0200 +++ b/tests/util_allocator.c Sun Jul 07 14:20:28 2024 +0200 @@ -140,7 +140,7 @@ size_t initial_capa = 16; alloc->tracked_capacity = initial_capa; alloc->tracked_count = 0; - alloc->tracked = calloc(sizeof(void *), initial_capa); + alloc->tracked = calloc(initial_capa, sizeof(void *)); } void cx_testing_allocator_destroy(CxTestingAllocator *alloc) {