summaryrefslogtreecommitdiff
path: root/src/rm.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-11-19 18:59:02 +0000
committerJim Meyering <jim@meyering.net>1997-11-19 18:59:02 +0000
commit4c3aa5cba3a818bed9bfc094c05069338d682087 (patch)
treec8402f160d1ae9f7d220b43a12ef74959c24f6ae /src/rm.c
parentc04cb4522aa49bf1608cbf41ff797085eb19b5e2 (diff)
downloadcoreutils-4c3aa5cba3a818bed9bfc094c05069338d682087.tar.xz
(hash_pjw): Don't use ANSI `U' suffix. Cast instead.
Diffstat (limited to 'src/rm.c')
-rw-r--r--src/rm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rm.c b/src/rm.c
index 37df50912..cdd2036a2 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;
}