aboutsummaryrefslogtreecommitdiff
path: root/qdict.h
diff options
context:
space:
mode:
Diffstat (limited to 'qdict.h')
-rw-r--r--qdict.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qdict.h b/qdict.h
index 72ea563d19..dcd2b29780 100644
--- a/qdict.h
+++ b/qdict.h
@@ -18,7 +18,7 @@
#include "qemu-queue.h"
#include <stdint.h>
-#define QDICT_HASH_SIZE 512
+#define QDICT_BUCKET_MAX 512
typedef struct QDictEntry {
char *key;
@@ -29,7 +29,7 @@ typedef struct QDictEntry {
typedef struct QDict {
QObject_HEAD;
size_t size;
- QLIST_HEAD(,QDictEntry) table[QDICT_HASH_SIZE];
+ QLIST_HEAD(,QDictEntry) table[QDICT_BUCKET_MAX];
} QDict;
/* Object API */