From 00ddc3500c2679e473c3a7769470887a38489fb0 Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 19 Aug 2013 17:25:48 +0200 Subject: [PATCH] Revert "Fixed type in dict.c comment: 265 -> 256." This reverts commit 6253180abd9fd11a385c644fe1dee932ef83d86f. --- src/dict.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dict.c b/src/dict.c index 7af1c30f..dd4156d2 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);