test/util_allocator.c

changeset 494
6ce8cfa10a96
parent 422
afd87df80b13
child 500
eb9e7bd40a8e
--- a/test/util_allocator.c	Sat Jan 22 10:29:48 2022 +0100
+++ b/test/util_allocator.c	Sat Jan 22 17:15:14 2022 +0100
@@ -119,7 +119,7 @@
     memset(&cx_testing_allocator_data, 0, sizeof(cx_testing_allocator_s));
 }
 
-int cxTestingAllocatorVerify(void) {
+bool cxTestingAllocatorVerify(void) {
     return cx_testing_allocator_data.live == 0
            && cx_testing_allocator_data.alloc_failed == 0 && cx_testing_allocator_data.free_failed == 0
            && cx_testing_allocator_data.alloc_total == cx_testing_allocator_data.free_total;

mercurial