diff options
author | Richard Braun <rbraun@sceen.net> | 2018-02-24 05:04:07 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-02-24 05:42:07 +0100 |
commit | 8dbe6957da40b713a214d765a83cbe81d24e753e (patch) | |
tree | f8d5b0321782e893e1070a27c83c4f1dbf39e53f /lib/hash.h | |
parent | 97f83b42af28a9ecbfd714a8337fd399a32cfb78 (diff) |
lib: update from upstream
Diffstat (limited to 'lib/hash.h')
-rw-r--r-- | lib/hash.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -117,7 +117,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 */ |