ALLOC_GROW: avoid -Wsign-compare warnings

Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Ramsay Jones
2017-09-21 17:49:38 +01:00
committed by Junio C Hamano
parent 356a293f39
commit 071bcaab64
7 changed files with 16 additions and 17 deletions

2
diff.c
View File

@ -825,7 +825,7 @@ static void emit_rewrite_diff(const char *name_a,
struct diff_words_buffer {
mmfile_t text;
long alloc;
unsigned long alloc;
struct diff_words_orig {
const char *begin, *end;
} *orig;