提交 1c08302e 编写于 作者: A antirez

dictFingerprint(): cast pointers to integer of same size.

上级 00ddc350
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册