xdiff: avoid compiler warnings with XDL_FAST_HASH on 32-bit machines
authorRené Scharfe <redacted>
Tue, 22 May 2012 20:36:25 +0000 (22:36 +0200)
committerJunio C Hamano <redacted>
Tue, 22 May 2012 21:39:49 +0000 (14:39 -0700)
commit9322ce21eeb4ad92d0cdd37d0d62a69368042fec
tree7ef2ad2a7110619b33fe850c85170ad5cdc0fc1e
parent6f1af028ce0654ef6233dff06701a989d5703bc4
xdiff: avoid compiler warnings with XDL_FAST_HASH on 32-bit machines

Import macro REPEAT_BYTE from Linux (arch/x86/include/asm/word-at-a-time.h)
to avoid 64-bit integer literals, which cause some 32-bit compilers to
print warnings.

Reported-by: Øyvind A. Holm <redacted>
Signed-off-by: Rene Scharfe <redacted>
Signed-off-by: Junio C Hamano <redacted>
xdiff/xutils.c
git clone https://git.99rst.org/PROJECT