From: Jafar Abdi <cafer.a...@gmail.com> Clean up wrong usage of FALSE and TRUE in places that use "bool" from stdbool.h.
FALSE and TRUE (with capital letters) are the constants defined by glib for being used with the "gboolean" type of glib. But some parts of the code also use TRUE and FALSE for variables that are declared as "bool" (the type from <stdbool.h>). Signed-off-by: Jafar Abdi <cafer.a...@gmail.com> Reviewed-by: Eric Blake <ebl...@redhat.com> Reviewed-by: Thomas Huth <th...@redhat.com> Message-Id: <1553351197-14581-3-git-send-email-cafer.a...@gmail.com> Signed-off-by: Thomas Huth <th...@redhat.com> --- tests/libqos/pci-pc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libqos/pci-pc.c b/tests/libqos/pci-pc.c index 4ab16facf2..407d8aff78 100644 --- a/tests/libqos/pci-pc.c +++ b/tests/libqos/pci-pc.c @@ -125,7 +125,7 @@ void qpci_init_pc(QPCIBusPC *qpci, QTestState *qts, QGuestAllocator *alloc) assert(qts); /* tests can use pci-bus */ - qpci->bus.has_buggy_msi = FALSE; + qpci->bus.has_buggy_msi = false; qpci->bus.pio_readb = qpci_pc_pio_readb; qpci->bus.pio_readw = qpci_pc_pio_readw; -- 2.21.0