From caee6fbff7cf0a10bf568b1ed9643d15061f305c Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 16 Oct 2024 19:24:16 +0300 Subject: Revert "replaced bool completely with gboolean" This reverts commit 024d26ac0cd869826801889f1299df34676fdf57. This was re-introducing Clang warnings since gboolean is signed. I should have read the git blame before re-introducing gboolean... --- src/qreg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/qreg.c') diff --git a/src/qreg.c b/src/qreg.c index 58c0966..c337dbe 100644 --- a/src/qreg.c +++ b/src/qreg.c @@ -18,6 +18,7 @@ #include "config.h" #endif +#include #include #include @@ -1268,7 +1269,7 @@ struct teco_machine_qregspec_t { union { struct { teco_qreg_type_t type : 8; - gboolean parse_only : 1; + bool parse_only : 1; }; guint __flags; }; -- cgit v1.2.3