Commit 5d5b76dfa0b14ab3a26d7904392c5e3b2430b991

Edward Thomson 2019-05-21T12:35:19

worktree: use size_t for sizes

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/worktree.c b/src/worktree.c
index 7213b8a..ef4ebfd 100644
--- a/src/worktree.c
+++ b/src/worktree.c
@@ -34,7 +34,7 @@ int git_worktree_list(git_strarray *wts, git_repository *repo)
 	git_vector worktrees = GIT_VECTOR_INIT;
 	git_buf path = GIT_BUF_INIT;
 	char *worktree;
-	unsigned i, len;
+	size_t i, len;
 	int error;
 
 	assert(wts && repo);