diff options
author | Ramsay Jones <ramsay@ramsayjones.plus.com> | 2017-09-21 17:49:38 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-22 13:21:11 +0900 |
commit | 071bcaab6480dea80a47f574f61dc2cd9518e7dc (patch) | |
tree | 40dfe32dc0bb96c9bbcae42cfa2f5ddd1c85abe9 /builtin | |
parent | 356a293f39e101326b274e968552a7379735e230 (diff) | |
download | git-071bcaab6480dea80a47f574f61dc2cd9518e7dc.tar.gz git-071bcaab6480dea80a47f574f61dc2cd9518e7dc.tar.xz |
ALLOC_GROW: avoid -Wsign-compare warnings
Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/pack-objects.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c index c753e9237..b40cdfe64 100644 --- a/builtin/pack-objects.c +++ b/builtin/pack-objects.c @@ -2556,8 +2556,8 @@ struct in_pack_object { }; struct in_pack { - int alloc; - int nr; + unsigned int alloc; + unsigned int nr; struct in_pack_object *array; }; |