pool: Handle 32 bit systems

This commit is contained in:
Vicent Marti 2015-10-28 10:29:00 +01:00
parent 410efda80b
commit 66eb7660a8

View File

@ -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);
}