aboutsummaryrefslogtreecommitdiff
path: root/locale/locfile-hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/locfile-hash.c')
-rw-r--r--locale/locfile-hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/locfile-hash.c b/locale/locfile-hash.c
index 75cb77f..d977822 100644
--- a/locale/locfile-hash.c
+++ b/locale/locfile-hash.c
@@ -205,7 +205,7 @@ compute_hashval(const char *key, size_t keylen)
{
hval <<= 4;
hval += key[cnt++];
- g = hval & (0xf << (LONGBITS - 4));
+ g = hval & (0xfL << (LONGBITS - 4));
if (g != 0)
{
hval ^= g >> (LONGBITS - 8);