summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorLibravatar Ramsay Jones <ramsay@ramsayjones.plus.com>2017-09-21 17:49:38 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-09-22 13:21:11 +0900
commit071bcaab6480dea80a47f574f61dc2cd9518e7dc (patch)
tree40dfe32dc0bb96c9bbcae42cfa2f5ddd1c85abe9 /builtin
parentcache.h: hex2chr() - avoid -Wsign-compare warnings (diff)
downloadtgif-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c
index c753e9237a..b40cdfe64a 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;
};