diff options
Diffstat (limited to 'src/hash.h')
-rw-r--r-- | src/hash.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -118,7 +118,7 @@ hash_str(const char *str, unsigned int bits) hash = ((hash << 5) - hash) + c; } - return hash & ((1 << bits) - 1); + return hash & ((1UL << bits) - 1); } #endif /* _HASH_H */ |