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:42 +0200
commit718fd3c6007c6feaab4ccb5ea788efb97dd43c6f (patch)
treed3a9383f57f8bb6dd362a445cb672cf10bc19c21
parent3bacf4c7388331c7acacd79779aa64b30eac8d65 (diff)
downloadredis-718fd3c6007c6feaab4ccb5ea788efb97dd43c6f.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 d2ff4a9ac..9f97a132d 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;