diff options
-rw-r--r-- | mempool/test/mempool_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mempool/test/mempool_test.c b/mempool/test/mempool_test.c index 5eaee51..843f7e7 100644 --- a/mempool/test/mempool_test.c +++ b/mempool/test/mempool_test.c | |||
@@ -136,7 +136,7 @@ TEST_CASE(mempool_traverse_partially_full) { | |||
136 | } | 136 | } |
137 | 137 | ||
138 | TEST_EQUAL(sum(&pool), N * (N + 1) / 2); | 138 | TEST_EQUAL(sum(&pool), N * (N + 1) / 2); |
139 | TEST_TRUE(mempool_size(&pool) == N); | 139 | TEST_TRUE(mempool_size(&pool) == (size_t)N); |
140 | } | 140 | } |
141 | 141 | ||
142 | // Traverse a full pool. | 142 | // Traverse a full pool. |