diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2019-06-19 14:05:59 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-06-20 14:03:05 -0700 |
commit | 96a0679441224e1a1d6f8afd6e25671ce577b92f (patch) | |
tree | 886f2bde83df784f21446ce8c19d37b4ab8eeb40 /builtin/prune.c | |
parent | cache-tree/blame: avoid reusing the DEBUG constant (diff) | |
download | tgif-96a0679441224e1a1d6f8afd6e25671ce577b92f.tar.xz |
obstack: fix compiler warning
MS Visual C suggests that the construct
condition ? (int) i : (ptrdiff_t) d
is incorrect. Let's fix this by casting to ptrdiff_t also for the
positive arm of the conditional.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/prune.c')
0 files changed, 0 insertions, 0 deletions