Fixed odb foreach test failure for big-endian 64-bit
diff --git a/tests/odb/foreach.c b/tests/odb/foreach.c
index 56daf75..75448a2 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"));