From 92f631f6079066d9371e3bf4a21a3086f4bf2687 Mon Sep 17 00:00:00 2001 From: Leonardo Alminana Date: Wed, 21 Aug 2024 14:53:50 +0200 Subject: [PATCH] core: fixed the data type used for booleans Signed-off-by: Leonardo Alminana --- include/fluent-bit/flb_config_map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fluent-bit/flb_config_map.h b/include/fluent-bit/flb_config_map.h index 8ca3c1eb42e..a41db3e4424 100644 --- a/include/fluent-bit/flb_config_map.h +++ b/include/fluent-bit/flb_config_map.h @@ -55,7 +55,7 @@ struct flb_config_map_val { union { int i_num; /* FLB_CONFIG_MAP_INT */ - char boolean; /* FLB_CONFIG_MAP_BOOL */ + int boolean; /* FLB_CONFIG_MAP_BOOL */ double d_num; /* FLB_CONFIG_MAP_DOUBLE */ size_t s_num; /* FLB_CONFIG_MAP_SIZE */ flb_sds_t str; /* FLB_CONFIG_MAP_STR */