diff --git a/src/dict.h b/src/dict.h index 2ef8f4f081c409b58eb83b29e7c1bca985c2f233..8045fb79f9d14ce9cc72fdb3195c31044045885a 100644 --- a/src/dict.h +++ b/src/dict.h @@ -142,7 +142,7 @@ typedef void (dictScanFunction)(void *privdata, const dictEntry *de); #define dictGetDoubleVal(he) ((he)->v.d) #define dictSlots(d) ((d)->ht[0].size+(d)->ht[1].size) #define dictSize(d) ((d)->ht[0].used+(d)->ht[1].used) -#define dictIsRehashing(ht) ((ht)->rehashidx != -1) +#define dictIsRehashing(d) ((d)->rehashidx != -1) /* API */ dict *dictCreate(dictType *type, void *privDataPtr);