diff options
Diffstat (limited to 'range-diff.c')
-rw-r--r-- | range-diff.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/range-diff.c b/range-diff.c index 116fb0735c..83c90f946e 100644 --- a/range-diff.c +++ b/range-diff.c @@ -274,9 +274,10 @@ static void find_exact_matches(struct string_list *a, struct string_list *b) hashmap_clear(&map); } -static void diffsize_consume(void *data, char *line, unsigned long len) +static int diffsize_consume(void *data, char *line, unsigned long len) { (*(int *)data)++; + return 0; } static void diffsize_hunk(void *data, long ob, long on, long nb, long nn, |