diff options
author | René Scharfe <l.s.r@web.de> | 2014-11-15 14:27:21 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-11-17 08:57:07 -0800 |
commit | 31a8aa1ee84f4fba7597b0fa2e99f94596c079bb (patch) | |
tree | 392314094cd252de73c2e3e47b0a8ee8c3449442 /builtin/commit.c | |
parent | receive-pack::hmac_sha1(): copy the entire SHA-1 hash out (diff) | |
download | tgif-31a8aa1ee84f4fba7597b0fa2e99f94596c079bb.tar.xz |
use labs() for variables of type long instead of abs()
Using abs() on long values can cause truncation, so use labs() instead.
Reported by Clang 3.5 (-Wabsolute-value, enabled by -Wall).
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions