summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-01-21 00:49:07 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2019-01-25 22:47:39 +0000
commitae681d3ff5b6d2518b6625ff1b6f16e9f65a6935 (patch)
treecd9391e6e6869d52ac89b292868c1fcc75cbcd2c
parent7ed2baf7b18c0b98dc090216b55ce50a1311fd97 (diff)
downloadlibgit2-ae681d3ff5b6d2518b6625ff1b6f16e9f65a6935.tar.gz
apply: make update_hunk accept a size_t
-rw-r--r--src/apply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apply.c b/src/apply.c
index bd0ba6a89..d72aa8374 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)
{