Commit 66eb7660 by Vicent Marti

pool: Handle 32 bit systems

parent 410efda8
...@@ -70,7 +70,7 @@ void test_core_pool__2(void) ...@@ -70,7 +70,7 @@ void test_core_pool__2(void)
} }
/* with fixed page size, allocation must end up with these values */ /* 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); git_pool_clear(&p);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment