From 780ad0c69ff3951b3ae140d3bf34f90833e96958 Mon Sep 17 00:00:00 2001 From: Leonardo Alminana Date: Wed, 14 Aug 2024 22:20:29 +0200 Subject: [PATCH 1/2] tests: config_map: fixed a wrong data type used for an option Signed-off-by: Leonardo Alminana --- tests/internal/config_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/internal/config_map.c b/tests/internal/config_map.c index b709d016d17..687e2313ac6 100644 --- a/tests/internal/config_map.c +++ b/tests/internal/config_map.c @@ -14,7 +14,7 @@ struct context { int num_int; size_t size; time_t time; - char boolean; + int boolean; double num_double; flb_sds_t string; struct mk_list *list1; From 1acb0ed44e62e878fd1143994c6999e72f5932f4 Mon Sep 17 00:00:00 2001 From: Leonardo Alminana Date: Wed, 14 Aug 2024 22:23:20 +0200 Subject: [PATCH 2/2] tests: intenral: fuzzers: fixed a wrong data type used for an option Signed-off-by: Leonardo Alminana --- tests/internal/fuzzers/config_map_fuzzer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/internal/fuzzers/config_map_fuzzer.c b/tests/internal/fuzzers/config_map_fuzzer.c index 79697f65165..d62afd8011b 100644 --- a/tests/internal/fuzzers/config_map_fuzzer.c +++ b/tests/internal/fuzzers/config_map_fuzzer.c @@ -13,7 +13,7 @@ struct context { int num_int; size_t size; time_t time; - char boolean; + int boolean; double num_double; flb_sds_t string; struct mk_list *list1;