Commit 4ef52315d97647ea389c8c0ec803ac6d6f9b1082

Vicent Martí 2012-02-13T04:21:24

Merge pull request #556 from schu/fix-sign-compare tests-clar: fix warning sign-compare

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));