From 6253180abd9fd11a385c644fe1dee932ef83d86f Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 19 Aug 2013 15:10:33 +0200 Subject: [PATCH] Fixed type in dict.c comment: 265 -> 256. --- src/dict.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dict.c b/src/dict.c index dd4156d2f..7af1c30f0 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);