Cast to right type in dictNext().
This closes issue #1929, the other part was fixed in the context of issue
This commit is contained in:
parent
064d5c96ac
commit
72aa797c89
@ -570,7 +570,7 @@ dictEntry *dictNext(dictIterator *iter)
|
||||
iter->fingerprint = dictFingerprint(iter->d);
|
||||
}
|
||||
iter->index++;
|
||||
if (iter->index >= (signed) ht->size) {
|
||||
if (iter->index >= (long) ht->size) {
|
||||
if (dictIsRehashing(iter->d) && iter->table == 0) {
|
||||
iter->table++;
|
||||
iter->index = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user