diff options
-rw-r--r-- | mem/test/mem_test.c | 2 |
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. |