diff options
author | antirez <antirez@gmail.com> | 2013-08-19 15:10:33 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-08-19 15:11:09 +0200 |
commit | 19de8e46bf36e77ca61a966a777fbf63b9afcc45 (patch) | |
tree | c3ccf3bcac26bd76950d613af20e97c676f1ee14 | |
parent | e16dd1d86b84b22d30f22b8b6fef3a60c5861346 (diff) | |
download | redis-19de8e46bf36e77ca61a966a777fbf63b9afcc45.tar.gz |
Fixed type in dict.c comment: 265 -> 256.
-rw-r--r-- | src/dict.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dict.c b/src/dict.c index d2ff4a9ac..3b0ee6f8f 100644 --- a/src/dict.c +++ b/src/dict.c @@ -534,7 +534,7 @@ long long dictFingerprint(dict *d) { /* For the hashing step we use Tomas Wang's 64 bit integer hash. */ hash = (~hash) + (hash << 21); // hash = (hash << 21) - hash - 1; hash = hash ^ (hash >> 24); - hash = (hash + (hash << 3)) + (hash << 8); // hash * 265 + hash = (hash + (hash << 3)) + (hash << 8); // hash * 256 hash = hash ^ (hash >> 14); hash = (hash + (hash << 2)) + (hash << 4); // hash * 21 hash = hash ^ (hash >> 28); |