]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
qlit: use QType instead of int
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 5 Mar 2018 17:29:49 +0000 (18:29 +0100)
committerEric Blake <eblake@redhat.com>
Mon, 19 Mar 2018 15:00:14 +0000 (10:00 -0500)
Suggested-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20180305172951.2150-3-marcandre.lureau@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
include/qapi/qmp/qlit.h

index 56f9d97bd9800d698884437e84fbfbcb60f96831..f1ed082df8186d039aa52de518653a6cb426693d 100644 (file)
@@ -20,7 +20,7 @@ typedef struct QLitDictEntry QLitDictEntry;
 typedef struct QLitObject QLitObject;
 
 struct QLitObject {
-    int type;
+    QType type;
     union {
         bool qbool;
         int64_t qnum;