Commit ae681d3ff5b6d2518b6625ff1b6f16e9f65a6935

Edward Thomson 2019-01-21T00:49:07

apply: make update_hunk accept a size_t

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/apply.c b/src/apply.c
index bd0ba6a..d72aa83 100644
--- a/src/apply.c
+++ b/src/apply.c
@@ -138,7 +138,7 @@ static bool find_hunk_linenum(
 
 static int update_hunk(
 	patch_image *image,
-	unsigned int linenum,
+	size_t linenum,
 	patch_image *preimage,
 	patch_image *postimage)
 {