From 66eb7660a87a1fe56fde21a7e544e34224a3a257 Mon Sep 17 00:00:00 2001 From: Vicent Marti Date: Wed, 28 Oct 2015 10:29:00 +0100 Subject: pool: Handle 32 bit systems --- tests/core/pool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core/pool.c b/tests/core/pool.c index 2d42b930a..f90adfbc3 100644 --- a/tests/core/pool.c +++ b/tests/core/pool.c @@ -70,7 +70,7 @@ void test_core_pool__2(void) } /* with fixed page size, allocation must end up with these values */ - cl_assert_equal_i(55, git_pool__open_pages(&p)); + cl_assert_equal_i(sizeof(void *) == 8 ? 55 : 45, git_pool__open_pages(&p)); git_pool_clear(&p); } -- cgit v1.2.1