summaryrefslogtreecommitdiff
path: root/gl/lib/ino-map.c
diff options
context:
space:
mode:
Diffstat (limited to 'gl/lib/ino-map.c')
-rw-r--r--gl/lib/ino-map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gl/lib/ino-map.c b/gl/lib/ino-map.c
index c86898365..cc9a131c9 100644
--- a/gl/lib/ino-map.c
+++ b/gl/lib/ino-map.c
@@ -61,7 +61,7 @@ ino_hash (void const *x, size_t table_size)
size_t h = ino;
int i;
for (i = 1; i < sizeof ino / sizeof h + (sizeof ino % sizeof h != 0); i++)
- h ^= ino >>= CHAR_BIT * sizeof h;
+ h ^= ino >> CHAR_BIT * sizeof h * i;
return h % table_size;
}