]> git.proxmox.com Git - mirror_qemu.git/commit
hw/tpm: fix usage of bool in tpm-tis.c
authorJafar Abdi <cafer.abdi@gmail.com>
Sat, 23 Mar 2019 14:26:37 +0000 (17:26 +0300)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Tue, 12 May 2020 15:47:24 +0000 (11:47 -0400)
commitaadad398e7dc21fe177278498c1be31b8c7d5078
treec6d5d8e7ccc273f13001fca344d1422dc545238b
parentc88f1ffc19e38008a1c33ae039482a860aa7418c
hw/tpm: fix usage of bool in tpm-tis.c

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.abdi@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
hw/tpm/tpm_tis_common.c