diff options
author | antirez <antirez@gmail.com> | 2013-08-20 11:49:55 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2013-08-20 12:09:42 +0200 |
commit | 718fd3c6007c6feaab4ccb5ea788efb97dd43c6f (patch) | |
tree | d3a9383f57f8bb6dd362a445cb672cf10bc19c21 | |
parent | 3bacf4c7388331c7acacd79779aa64b30eac8d65 (diff) | |
download | redis-718fd3c6007c6feaab4ccb5ea788efb97dd43c6f.tar.gz |
dictFingerprint(): cast pointers to integer of same size.
-rw-r--r-- | src/dict.c | 4 |
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; |