Message ID | 20180111213250.16511-2-marcandre.lureau@redhat.com |
---|---|
State | New |
Headers | show |
Series | Hi, | expand |
On 01/11/2018 03:32 PM, Marc-André Lureau wrote: > Suggested-by: Markus Armbruster <armbru@redhat.com> > Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> > --- > include/qapi/qmp/qlit.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Eric Blake <eblake@redhat.com> > diff --git a/include/qapi/qmp/qlit.h b/include/qapi/qmp/qlit.h > index b18406bce9..0c6809ef3c 100644 > --- a/include/qapi/qmp/qlit.h > +++ b/include/qapi/qmp/qlit.h > @@ -21,7 +21,7 @@ typedef struct QLitDictEntry QLitDictEntry; > typedef struct QLitObject QLitObject; > > struct QLitObject { > - int type; > + QType type; > union { > bool qbool; > int64_t qnum; >
Marc-André Lureau <marcandre.lureau@redhat.com> writes: > Suggested-by: Markus Armbruster <armbru@redhat.com> > Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> > --- > include/qapi/qmp/qlit.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/qapi/qmp/qlit.h b/include/qapi/qmp/qlit.h > index b18406bce9..0c6809ef3c 100644 > --- a/include/qapi/qmp/qlit.h > +++ b/include/qapi/qmp/qlit.h > @@ -21,7 +21,7 @@ typedef struct QLitDictEntry QLitDictEntry; > typedef struct QLitObject QLitObject; > > struct QLitObject { > - int type; > + QType type; > union { > bool qbool; > int64_t qnum; Reviewed-by: Markus Armbruster <armbru@redhat.com>
diff --git a/include/qapi/qmp/qlit.h b/include/qapi/qmp/qlit.h index b18406bce9..0c6809ef3c 100644 --- a/include/qapi/qmp/qlit.h +++ b/include/qapi/qmp/qlit.h @@ -21,7 +21,7 @@ typedef struct QLitDictEntry QLitDictEntry; typedef struct QLitObject QLitObject; struct QLitObject { - int type; + QType type; union { bool qbool; int64_t qnum;
Suggested-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> --- include/qapi/qmp/qlit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)