Commit 7629ea5d8d3cf2278d89a41beba3caf0488f67b3

Jakub Čajka 2014-06-11T16:00:04

Fixed odb foreach test failure for big-endian 64-bit

1
2
3
4
5
6
7
8
9
10
11
12
13
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"));