diff options
author | Markus Armbruster <armbru@redhat.com> | 2017-06-26 13:52:24 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2017-07-24 13:35:11 +0200 |
commit | 006ca09f3027d86346fce707e9295975c6558f42 (patch) | |
tree | 1c06825264666d09ea76e3e4e2673fc089027b65 /qapi | |
parent | df95f1a298a3e16c80293343143dcedbe7978f6c (diff) |
qapi: Separate type QNull from QObject
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r-- | qapi/qobject-output-visitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qapi/qobject-output-visitor.c b/qapi/qobject-output-visitor.c index 70be84ccb5..398dcb5cee 100644 --- a/qapi/qobject-output-visitor.c +++ b/qapi/qobject-output-visitor.c @@ -190,7 +190,7 @@ static void qobject_output_type_any(Visitor *v, const char *name, static void qobject_output_type_null(Visitor *v, const char *name, Error **errp) { QObjectOutputVisitor *qov = to_qov(v); - qobject_output_add_obj(qov, name, qnull()); + qobject_output_add(qov, name, qnull()); } /* Finish building, and return the root object. |