]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(hash_pjw): Don't use ANSI `U' suffix. Cast instead.
authorJim Meyering <jim@meyering.net>
Wed, 19 Nov 1997 18:59:02 +0000 (18:59 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 19 Nov 1997 18:59:02 +0000 (18:59 +0000)
src/rm.c

index 37df50912285f72d64b8094d95323e7a493941db..cdd2036a205431ec28fb74b7b054b8abc5785548 100644 (file)
--- 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;
     }