tests-clar: fix warning sign-compare Signed-off-by: schu <schu-github@schulog.org>
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));