Commit b4a173b5a84b542587076d615d4370ee9ad9e104

Edward Thomson 2019-05-20T07:12:36

rebase: use size_t for path length

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/rebase.c b/src/rebase.c
index 6de7180..fbba4bc 100644
--- a/src/rebase.c
+++ b/src/rebase.c
@@ -298,7 +298,8 @@ int git_rebase_open(
 	git_rebase *rebase;
 	git_buf path = GIT_BUF_INIT, orig_head_name = GIT_BUF_INIT,
 		orig_head_id = GIT_BUF_INIT, onto_id = GIT_BUF_INIT;
-	int state_path_len, error;
+	size_t state_path_len;
+	int error;
 
 	assert(repo);