From 56212725754fa9616dc9e0a2d1e7916ce867a39a Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 19 Aug 2013 17:25:57 +0200 Subject: [PATCH] Revert "Fixed type in dict.c comment: 265 -> 256." This reverts commit 009515f9140fc1330c14af994040a8885056986c. --- src/dict.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dict.c b/src/dict.c index 91c393206..b041febcf 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 * 256 + hash = (hash + (hash << 3)) + (hash << 8); // hash * 265 hash = hash ^ (hash >> 14); hash = (hash + (hash << 2)) + (hash << 4); // hash * 21 hash = hash ^ (hash >> 28);