summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2013-08-20 11:49:55 +0200
committerantirez <antirez@gmail.com>2013-08-20 12:09:31 +0200
commit2c018b14fb8d5419e9443284edb02caf0b7e2fa6 (patch)
tree0973dd5c0ab5f0055043510b5d182ea6ed7317d1
parent6a88a84ec79c5bd85e9357101ff699621bab1bae (diff)
downloadredis-2c018b14fb8d5419e9443284edb02caf0b7e2fa6.tar.gz
dictFingerprint(): cast pointers to integer of same size.
-rw-r--r--src/dict.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dict.c b/src/dict.c
index b041febcf..ee560c822 100644
--- a/src/dict.c
+++ b/src/dict.c
@@ -515,10 +515,10 @@ long long dictFingerprint(dict *d) {
long long integers[6], hash = 0;
int j;
- integers[0] = (long long) d->ht[0].table;
+ integers[0] = (long) d->ht[0].table;
integers[1] = d->ht[0].size;
integers[2] = d->ht[0].used;
- integers[3] = (long long) d->ht[1].table;
+ integers[3] = (long) d->ht[1].table;
integers[4] = d->ht[1].size;
integers[5] = d->ht[1].used;