Skip to content

Commit ae681d3

Browse files
committed
apply: make update_hunk accept a size_t
1 parent 7ed2baf commit ae681d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apply.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ static bool find_hunk_linenum(
138138

139139
static int update_hunk(
140140
patch_image *image,
141-
unsigned int linenum,
141+
size_t linenum,
142142
patch_image *preimage,
143143
patch_image *postimage)
144144
{

0 commit comments

Comments
 (0)