summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Čajka <jcajka@redhat.com>2014-06-11 16:00:04 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-10-11 12:36:39 +0200
commitb93346525bd14edf886f0425a12d9b23ca224559 (patch)
treeec1e2bf2c4b6ad095754765a98b991070d087f84
parent8a89bdae17cafad1ec433ff413732be3e89896b6 (diff)
downloadlibgit2-b93346525bd14edf886f0425a12d9b23ca224559.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"));