Commit 90e6c6203d4ea7dbb95264d5dc58902c43b8a5a5

schu 2012-02-13T12:13:05

tests-clar: fix warning sign-compare Signed-off-by: schu <schu-github@schulog.org>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests-clar/refs/listall.c b/tests-clar/refs/listall.c
index 4aa7051..ced40a2 100644
--- a/tests-clar/refs/listall.c
+++ b/tests-clar/refs/listall.c
@@ -6,7 +6,7 @@ static git_strarray ref_list;
 
 static void ensure_no_refname_starts_with_a_forward_slash(const char *path)
 {
-	int i;
+	size_t i;
 
 	cl_git_pass(git_repository_open(&repo, path));
 	cl_git_pass(git_reference_listall(&ref_list, repo, GIT_REF_LISTALL));