diff options
Diffstat (limited to 'qmp.c')
-rw-r--r-- | qmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -705,7 +705,7 @@ void qmp_object_add(const char *type, const char *id, Object *obj; if (props) { - pdict = qobject_to_qdict(props); + pdict = qobject_to(QDict, props); if (!pdict) { error_setg(errp, QERR_INVALID_PARAMETER_TYPE, "props", "dict"); return; |