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:54:34 -0800 |
commit | 83915ba5219955e8c0b747ec413afe4f78bea289 (patch) | |
tree | 49880c6d11be58b570af1e465dc0cc8945ca6f8f /t/t5530-upload-pack-error.sh | |
parent | Merge branch 'nd/gitignore-trailing-whitespace' into maint (diff) | |
download | tgif-83915ba5219955e8c0b747ec413afe4f78bea289.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 't/t5530-upload-pack-error.sh')
0 files changed, 0 insertions, 0 deletions