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

View File

@ -2159,7 +2159,7 @@ static struct {
size_t *offset;
unsigned int offset_alloc;
enum { START, SECTION_SEEN, SECTION_END_SEEN, KEY_SEEN } state;
int seen;
unsigned int seen;
} store;
static int matches(const char *key, const char *value)