diff options
author | René Scharfe <rene.scharfe@lsrfire.ath.cx> | 2012-05-22 22:36:39 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-05-23 09:10:03 -0700 |
commit | 7e356a979459092d10450e66d8512381e89c2570 (patch) | |
tree | ee8bd50045a1a051f20ccdea507e5a52aab37db3 /Documentation/revisions.txt | |
parent | xdiff: avoid compiler warnings with XDL_FAST_HASH on 32-bit machines (diff) | |
download | tgif-7e356a979459092d10450e66d8512381e89c2570.tar.xz |
xdiff: avoid more compiler warnings with XDL_FAST_HASH on 32-bit machines
Hide literals that can cause compiler warnings for 32-bit architectures in
expressions that evaluate to small numbers there. Some compilers warn that
0x0001020304050608 won't fit into a 32-bit long, others that shifting right
by 56 bits clears a 32-bit value completely.
The correct values are calculated in the 64-bit case, which is all that matters
in this if-branch.
Reported-by: Øyvind A. Holm <sunny@sunbase.org>
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Acked-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/revisions.txt')
0 files changed, 0 insertions, 0 deletions