Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsayjones.plus.com>2017-09-21 19:49:38 +0300
committerJunio C Hamano <gitster@pobox.com>2017-09-22 07:21:11 +0300
commit071bcaab6480dea80a47f574f61dc2cd9518e7dc (patch)
tree40dfe32dc0bb96c9bbcae42cfa2f5ddd1c85abe9 /line-log.h
parent356a293f39e101326b274e968552a7379735e230 (diff)
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 'line-log.h')
-rw-r--r--line-log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/line-log.h b/line-log.h
index 7a5c24e2df..e2a5ee7c6d 100644
--- a/line-log.h
+++ b/line-log.h
@@ -14,7 +14,7 @@ struct range {
/* A set of ranges. The ranges must always be disjoint and sorted. */
struct range_set {
- int alloc, nr;
+ unsigned int alloc, nr;
struct range *ranges;
};