Explicitly truncate bswap operand to uint32_t
authorBenjamin Kramer <benny.kra@googlemail.com>
Wed, 18 Nov 2009 13:53:27 +0000 (14:53 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Nov 2009 08:16:38 +0000 (00:16 -0800)
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>
No differences found