1
0
mirror of https://github.com/git/git.git synced 2024-10-01 04:51:25 +02:00
git/compat
Benjamin Kramer b073b7a990 Explicitly truncate bswap operand to uint32_t
There are some places in git where a long is passed to htonl/ntohl. llvm
doesn't support matching operands of different bitwidths intentionally.
This patch fixes the build with llvm-gcc (and clang) on x86_64.

Signed-off-by: Benjamin Kramer <benny.kra@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2009-11-25 00:16:38 -08:00
..
fnmatch Fix more typos/spelling in comments 2009-04-22 19:03:39 -07:00
nedmalloc Fix typo in nedmalloc warning fix 2009-06-11 14:18:52 -07:00
regex Change regerror() declaration from K&R style to ANSI C (C89) 2009-09-18 20:00:42 -07:00
vcbuild Merge branch 'ef/msys-imap' 2009-11-17 22:03:00 -08:00
basename.c compat: add a basename() compatibility function 2009-05-31 17:57:59 -07:00
bswap.h Explicitly truncate bswap operand to uint32_t 2009-11-25 00:16:38 -08:00
cygwin.c Fix more typos/spelling in comments 2009-04-22 19:03:39 -07:00
cygwin.h cygwin: Use native Win32 API for stat 2008-09-30 14:30:06 -07:00
fopen.c
hstrerror.c
inet_ntop.c
inet_pton.c
memmem.c optimize compat/ memmem() 2009-03-02 18:28:06 -08:00
mingw.c Enable support for IPv6 on MinGW 2009-11-24 00:58:17 -08:00
mingw.h Enable support for IPv6 on MinGW 2009-11-24 00:58:17 -08:00
mkdtemp.c
mkstemps.c compat: add a mkstemps() compatibility function 2009-05-31 17:56:44 -07:00
mmap.c
msvc.c Add platform files for porting to MSVC 2009-09-18 20:00:42 -07:00
msvc.h Define strncasecmp and ftruncate for MSVC 2009-09-18 20:00:42 -07:00
pread.c
qsort.c
setenv.c
snprintf.c Test for WIN32 instead of __MINGW32_ 2009-09-18 20:00:42 -07:00
strcasestr.c
strlcpy.c
strtoumax.c
unsetenv.c
win32.h Make usage of windows.h lean and mean 2009-09-18 20:00:42 -07:00
win32mmap.c MSVC: Add support for building with NO_MMAP 2009-11-08 17:59:12 -08:00
winansi.c Make usage of windows.h lean and mean 2009-09-18 20:00:42 -07:00