From: Marc-André Lureau Date: Mon, 5 Mar 2018 17:29:49 +0000 (+0100) Subject: qlit: use QType instead of int X-Git-Tag: qemu-xen-4.12.0-rc1~367^2~36 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3d96ea44d4dde442094b7d9e5b71ef61b4c4ae39;p=qemu-xen.git qlit: use QType instead of int Suggested-by: Markus Armbruster Signed-off-by: Marc-André Lureau Reviewed-by: Eric Blake Reviewed-by: Markus Armbruster Message-Id: <20180305172951.2150-3-marcandre.lureau@redhat.com> Signed-off-by: Eric Blake --- diff --git a/include/qapi/qmp/qlit.h b/include/qapi/qmp/qlit.h index 56f9d97bd9..f1ed082df8 100644 --- a/include/qapi/qmp/qlit.h +++ b/include/qapi/qmp/qlit.h @@ -20,7 +20,7 @@ typedef struct QLitDictEntry QLitDictEntry; typedef struct QLitObject QLitObject; struct QLitObject { - int type; + QType type; union { bool qbool; int64_t qnum;