aboutsummaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2009-11-18 14:53:27 +0100
committerJunio C Hamano <gitster@pobox.com>2009-11-25 00:16:38 -0800
commitb073b7a990deb1cb3425db45642fa18c8b3cb65c (patch)
tree8e2151608a1b772124490d68454b3dea5fd2088e /dir.c
parent5d166ccb89faadb7ce5f36d2e33abbd7bb103117 (diff)
downloadgit-b073b7a990deb1cb3425db45642fa18c8b3cb65c.tar.gz
git-b073b7a990deb1cb3425db45642fa18c8b3cb65c.tar.xz
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>
Diffstat (limited to 'dir.c')
0 files changed, 0 insertions, 0 deletions