Revision 83915ba5219955e8c0b747ec413afe4f78bea289 authored by René Scharfe on 15 November 2014, 13:27:21 UTC, committed by Junio C Hamano on 17 November 2014, 16:54:34 UTC
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>
1 parent 7fa1365
File | Mode | Size |
---|---|---|
nedmalloc | ||
poll | ||
regex | ||
vcbuild | ||
win32 | ||
apple-common-crypto.h | -rw-r--r-- | 2.5 KB |
basename.c | -rw-r--r-- | 334 bytes |
bswap.h | -rw-r--r-- | 4.3 KB |
fopen.c | -rw-r--r-- | 931 bytes |
gmtime.c | -rw-r--r-- | 605 bytes |
hstrerror.c | -rw-r--r-- | 513 bytes |
inet_ntop.c | -rw-r--r-- | 4.8 KB |
inet_pton.c | -rw-r--r-- | 6.8 KB |
memmem.c | -rw-r--r-- | 752 bytes |
mingw.c | -rw-r--r-- | 53.8 KB |
mingw.h | -rw-r--r-- | 13.0 KB |
mkdir.c | -rw-r--r-- | 468 bytes |
mkdtemp.c | -rw-r--r-- | 153 bytes |
mmap.c | -rw-r--r-- | 692 bytes |
msvc.c | -rw-r--r-- | 113 bytes |
msvc.h | -rw-r--r-- | 570 bytes |
obstack.c | -rw-r--r-- | 13.8 KB |
obstack.h | -rw-r--r-- | 19.1 KB |
pread.c | -rw-r--r-- | 433 bytes |
precompose_utf8.c | -rw-r--r-- | 4.5 KB |
precompose_utf8.h | -rw-r--r-- | 1.3 KB |
qsort.c | -rw-r--r-- | 1.1 KB |
setenv.c | -rw-r--r-- | 857 bytes |
snprintf.c | -rw-r--r-- | 1.5 KB |
strcasestr.c | -rw-r--r-- | 431 bytes |
strlcpy.c | -rw-r--r-- | 247 bytes |
strtoimax.c | -rw-r--r-- | 214 bytes |
strtoumax.c | -rw-r--r-- | 217 bytes |
terminal.c | -rw-r--r-- | 2.5 KB |
terminal.h | -rw-r--r-- | 142 bytes |
unsetenv.c | -rw-r--r-- | 591 bytes |
win32.h | -rw-r--r-- | 878 bytes |
win32mmap.c | -rw-r--r-- | 907 bytes |
winansi.c | -rw-r--r-- | 13.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...