diff --git a/tests/internal/log_event_encoder.c b/tests/internal/log_event_encoder.c index 376ddad4203..724a0647a9c 100644 --- a/tests/internal/log_event_encoder.c +++ b/tests/internal/log_event_encoder.c @@ -715,8 +715,8 @@ void dummy2() Test(dummy, type1, strlen(str), type2, str, strlen(str), type1, strlen(str), type2, str, strlen(str), - type1, 4UL, type2, str, 4UL, - type1, 4UL, type2, str, 4UL); + type1, (size_t)4, type2, str, (size_t)4, + type1, (size_t)4, type2, str, (size_t)4); } TEST_LIST = {