summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dict.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dict.h b/src/dict.h
index 042eb54f7..b82e137f9 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);