From 7d819515e75f0a25d759fe9ce6dd3acc8dc873ce Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Mon, 16 Sep 2024 08:26:41 -0700 Subject: Fix comparison. --- mem/test/mem_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mem') diff --git a/mem/test/mem_test.c b/mem/test/mem_test.c index 97db079..14718a5 100644 --- a/mem/test/mem_test.c +++ b/mem/test/mem_test.c @@ -136,7 +136,7 @@ TEST_CASE(mem_traverse_partially_full) { } TEST_EQUAL(sum(&mem), (N) * (N + 1) / 2); - TEST_TRUE(mem_size(&mem) == N); + TEST_TRUE(mem_size(&mem) == (size_t)N); } // Traverse a full allocator. -- cgit v1.2.3