diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-03-05 18:29:49 +0100 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2018-03-19 10:00:14 -0500 |
commit | 3d96ea44d4dde442094b7d9e5b71ef61b4c4ae39 (patch) | |
tree | 9b20bbf7aa187c9a77b2974d6b11951e3e035c9d | |
parent | 26ee12ad1f5fc1239b7366b696e813a27319b752 (diff) | |
download | qemu-3d96ea44d4dde442094b7d9e5b71ef61b4c4ae39.zip qemu-3d96ea44d4dde442094b7d9e5b71ef61b4c4ae39.tar.gz qemu-3d96ea44d4dde442094b7d9e5b71ef61b4c4ae39.tar.bz2 |
qlit: use QType instead of int
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>
-rw-r--r-- | include/qapi/qmp/qlit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qapi/qmp/qlit.h b/include/qapi/qmp/qlit.h index 56f9d97..f1ed082 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; |