summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Čajka <jcajka@redhat.com>2014-06-11 16:00:04 +0200
committerJacques Germishuys <jacquesg@striata.com>2014-09-26 12:12:08 +0200
commit7629ea5d8d3cf2278d89a41beba3caf0488f67b3 (patch)
tree98d20f79d6467db951cf9a4839f33ca413189d69
parentd99e547173a73109520bc5d54333b12f0e8cf72e (diff)
downloadlibgit2-7629ea5d8d3cf2278d89a41beba3caf0488f67b3.tar.gz
Fixed odb foreach test failure for big-endian 64-bit
-rw-r--r--tests/odb/foreach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/odb/foreach.c b/tests/odb/foreach.c
index 56daf7574..75448a2f7 100644
--- a/tests/odb/foreach.c
+++ b/tests/odb/foreach.c
@@ -87,7 +87,7 @@ void test_odb_foreach__files_in_objects_dir(void)
git_repository *repo;
git_odb *odb;
git_buf buf = GIT_BUF_INIT;
- size_t nobj = 0;
+ int nobj = 0;
cl_fixture_sandbox("testrepo.git");
cl_git_pass(git_repository_open(&repo, "testrepo.git"));