Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2015-10-28 12:29:00 +0300
committerVicent Marti <tanoku@gmail.com>2015-10-28 12:29:00 +0300
commit66eb7660a87a1fe56fde21a7e544e34224a3a257 (patch)
tree2f787208fa9fffe35ebaca0f6880099a96d76144 /tests/core
parent410efda80b101d427aafcc151b44c8cf0197461d (diff)
pool: Handle 32 bit systems
Diffstat (limited to 'tests/core')
-rw-r--r--tests/core/pool.c2
1 files changed, 1 insertions, 1 deletions
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);
}