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
path: root/diff.c
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 /diff.c
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 'diff.c')
-rw-r--r--diff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff.c b/diff.c
index 9c38258030..c7cf683e0b 100644
--- a/diff.c
+++ b/diff.c
@@ -825,7 +825,7 @@ static void emit_rewrite_diff(const char *name_a,
struct diff_words_buffer {
mmfile_t text;
- long alloc;
+ unsigned long alloc;
struct diff_words_orig {
const char *begin, *end;
} *orig;