Skip to content

Commit

Permalink
Fixed type in dict.c comment: 265 -> 256.
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Aug 19, 2013
1 parent e16dd1d commit 19de8e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dict.c
Expand Up @@ -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);
Expand Down

0 comments on commit 19de8e4

Please sign in to comment.