aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2024-09-16 08:26:41 -0700
committer3gg <3gg@shellblade.net>2024-09-16 08:26:41 -0700
commit7d819515e75f0a25d759fe9ce6dd3acc8dc873ce (patch)
tree0d31afc4ecbd66a609aeba7736c9e79ec31ce1e6
parent1321c90186706309ed0fda78858a2a15b7a521a9 (diff)
Fix comparison.
-rw-r--r--mem/test/mem_test.c2
1 files changed, 1 insertions, 1 deletions
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) {
136 } 136 }
137 137
138 TEST_EQUAL(sum(&mem), (N) * (N + 1) / 2); 138 TEST_EQUAL(sum(&mem), (N) * (N + 1) / 2);
139 TEST_TRUE(mem_size(&mem) == N); 139 TEST_TRUE(mem_size(&mem) == (size_t)N);
140} 140}
141 141
142// Traverse a full allocator. 142// Traverse a full allocator.