diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2012-05-22 22:36:25 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-05-22 14:39:49 -0700 |
commit | 9322ce21eeb4ad92d0cdd37d0d62a69368042fec (patch) | |
tree | 7ef2ad2a7110619b33fe850c85170ad5cdc0fc1e /patch-ids.c | |
parent | xdiff: choose XDL_FAST_HASH code on sizeof(long) instead of __WORDSIZE (diff) | |
download | tgif-9322ce21eeb4ad92d0cdd37d0d62a69368042fec.tar.xz |
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 <sunny@sunbase.org>
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'patch-ids.c')
0 files changed, 0 insertions, 0 deletions