File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ ZTEST(sh, test_shell_fprintf)
333
333
shell_fprintf (sh , SHELL_VT100_COLOR_DEFAULT , "testing %d %s %c" ,
334
334
1 , "2" , '3' );
335
335
buf = shell_backend_dummy_get_output (sh , & size );
336
- zassert_true (size >= sizeof (expect ), "Expected size > %u , got %d " ,
336
+ zassert_true (size >= sizeof (expect ), "Expected size > %zu , got %zu " ,
337
337
sizeof (expect ), size );
338
338
339
339
/*
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ ZTEST(sh, test_shell_fprintf)
44
44
shell_fprintf (sh , SHELL_VT100_COLOR_DEFAULT , "testing %d %s %c" ,
45
45
1 , "2" , '3' );
46
46
buf = shell_backend_dummy_get_output (sh , & size );
47
- zassert_true (size >= sizeof (expect ), "Expected size > %u , got %d " ,
47
+ zassert_true (size >= sizeof (expect ), "Expected size > %zu , got %zu " ,
48
48
sizeof (expect ), size );
49
49
50
50
/*
You can’t perform that action at this time.
0 commit comments