1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-12 12:00:21 +02:00

(hash_pjw): Don't use ANSI `U' suffix. Cast instead.

This commit is contained in:
Jim Meyering
1997-11-19 18:59:02 +00:00
parent c04cb4522a
commit 4c3aa5cba3
+1 -1
View File
@@ -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;
}