diff options
author | 3gg <3gg@shellblade.net> | 2024-09-16 08:28:19 -0700 |
---|---|---|
committer | 3gg <3gg@shellblade.net> | 2024-09-16 08:28:19 -0700 |
commit | 0af80388a0c019daf102c2c41cb05dea51591926 (patch) | |
tree | 149420f7a01214f1e266eb05143f9dcb009f914a /mempool | |
parent | e0d0ce34297ff535e5da8434507c54c5e154ed14 (diff) |
Fix comparison.
Diffstat (limited to 'mempool')
-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. |