qobject: Use 'bool' inside qdict
commit34acbc95229f9f841bde83691a5af949c15e105b
authorEric Blake <eblake@redhat.com>
Fri, 15 May 2015 22:25:00 +0000 (15 16:25 -0600)
committerMarkus Armbruster <armbru@redhat.com>
Mon, 22 Jun 2015 15:40:00 +0000 (22 17:40 +0200)
tree10da2a91f4d06bae34b637df4f1997c8b54ed23d
parentfc48ffc39ed1060856475e4320d5896f26c945e8
qobject: Use 'bool' inside qdict

Now that qbool is fixed, let's fix getting and setting a bool
value to a qdict member to also use C99 bool rather than int.

I audited all callers to ensure that the changed return type
will not cause any changed semantics.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
hmp.c
hw/pci/pcie_aer.c
include/qapi/qmp/qdict.h
monitor.c
qobject/qdict.c
tests/test-qmp-output-visitor.c