diff options
| author | Junio C Hamano <gitster@pobox.com> | 2017-10-23 14:20:18 +0900 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2017-10-23 14:20:18 +0900 |
| commit | 7186408f2486ebbb82736c15efb8fbc372fb5f95 (patch) | |
| tree | b17026dbf30f239cbb390e0ee33b109ef69b0370 /diff.c | |
| parent | Merge branch 'ma/ts-cleanups' into maint (diff) | |
| parent | ALLOC_GROW: avoid -Wsign-compare warnings (diff) | |
| download | git-7186408f2486ebbb82736c15efb8fbc372fb5f95.tar.gz git-7186408f2486ebbb82736c15efb8fbc372fb5f95.zip | |
Merge branch 'rj/no-sign-compare' into maint
Many codepaths have been updated to squelch -Wsign-compare
warnings.
* rj/no-sign-compare:
ALLOC_GROW: avoid -Wsign-compare warnings
cache.h: hex2chr() - avoid -Wsign-compare warnings
commit-slab.h: avoid -Wsign-compare warnings
git-compat-util.h: xsize_t() - avoid -Wsign-compare warnings
Diffstat (limited to 'diff.c')
| -rw-r--r-- | diff.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -828,7 +828,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; |
