Skip to content

Commit

Permalink
core: fixed the data type used for booleans
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Alminana <[email protected]>
  • Loading branch information
leonardo-albertovich authored and edsiper committed Aug 21, 2024
1 parent d25efca commit 92f631f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fluent-bit/flb_config_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 92f631f

Please sign in to comment.