From 0af80388a0c019daf102c2c41cb05dea51591926 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Mon, 16 Sep 2024 08:28:19 -0700 Subject: Fix comparison. --- mempool/test/mempool_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mempool/test') 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) { } TEST_EQUAL(sum(&pool), N * (N + 1) / 2); - TEST_TRUE(mempool_size(&pool) == N); + TEST_TRUE(mempool_size(&pool) == (size_t)N); } // Traverse a full pool. -- cgit v1.2.3