mirror of
https://github.com/fluencelabs/redis
synced 2025-04-13 12:46:03 +00:00
dictFingerprint(): cast pointers to integer of same size.
This commit is contained in:
parent
00ddc3500c
commit
1c08302edc
@ -515,10 +515,10 @@ long long dictFingerprint(dict *d) {
|
|||||||
long long integers[6], hash = 0;
|
long long integers[6], hash = 0;
|
||||||
int j;
|
int j;
|
||||||
|
|
||||||
integers[0] = (long long) d->ht[0].table;
|
integers[0] = (long) d->ht[0].table;
|
||||||
integers[1] = d->ht[0].size;
|
integers[1] = d->ht[0].size;
|
||||||
integers[2] = d->ht[0].used;
|
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[4] = d->ht[1].size;
|
||||||
integers[5] = d->ht[1].used;
|
integers[5] = d->ht[1].used;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user