Commit b26e51e08bc8c404ad2e68078bbe4ecd070b2674

Edward Thomson 2019-05-20T05:37:44

worktree: use size_t in tests

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/worktree/worktree.c b/tests/worktree/worktree.c
index d41aa2c..5e99dbf 100644
--- a/tests/worktree/worktree.c
+++ b/tests/worktree/worktree.c
@@ -42,7 +42,7 @@ void test_worktree_worktree__list_with_invalid_worktree_dirs(void)
 	};
 	git_buf path = GIT_BUF_INIT;
 	git_strarray wts;
-	unsigned i, j, len;
+	size_t i, j, len;
 
 	cl_git_pass(git_buf_printf(&path, "%s/worktrees/invalid",
 		    fixture.repo->commondir));