aboutsummaryrefslogtreecommitdiff
path: root/util/qemu-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/qemu-config.c')
-rw-r--r--util/qemu-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/qemu-config.c b/util/qemu-config.c
index c651c4826e..20f7d1429d 100644
--- a/util/qemu-config.c
+++ b/util/qemu-config.c
@@ -528,7 +528,7 @@ static void config_parse_qdict_section(QDict *options, QemuOptsList *opts,
}
QLIST_FOREACH_ENTRY(list, list_entry) {
- QDict *section = qobject_to_qdict(qlist_entry_obj(list_entry));
+ QDict *section = qobject_to(QDict, qlist_entry_obj(list_entry));
char *opt_name;
if (!section) {