summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsayjones.plus.com>2017-09-21 17:49:38 +0100
committerJunio C Hamano <gitster@pobox.com>2017-09-22 13:21:11 +0900
commit071bcaab6480dea80a47f574f61dc2cd9518e7dc (patch)
tree40dfe32dc0bb96c9bbcae42cfa2f5ddd1c85abe9 /config.c
parent356a293f39e101326b274e968552a7379735e230 (diff)
downloadgit-071bcaab6480dea80a47f574f61dc2cd9518e7dc.tar.gz
ALLOC_GROW: avoid -Wsign-compare warningsrj/no-sign-compare
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index acebc85d81..149bee1c71 100644
--- a/config.c
+++ b/config.c
@@ -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)