From: Jim Meyering Date: Wed, 19 Nov 1997 18:59:02 +0000 (+0000) Subject: (hash_pjw): Don't use ANSI `U' suffix. Cast instead. X-Git-Tag: TEXTUTILS-1_22c~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4c3aa5cba3a818bed9bfc094c05069338d682087;p=thirdparty%2Fcoreutils.git (hash_pjw): Don't use ANSI `U' suffix. Cast instead. --- diff --git a/src/rm.c b/src/rm.c index 37df509122..cdd2036a20 100644 --- a/src/rm.c +++ b/src/rm.c @@ -273,7 +273,7 @@ hash_pjw (const void *x, unsigned int tablesize) while (*s != 0) { h = (h << 4) + *s++; - if ((g = h & 0xf0000000U) != 0) + if ((g = h & (unsigned int) 0xf0000000) != 0) h = (h ^ (g >> 24)) ^ g; }