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)
333333 shell_fprintf (sh , SHELL_VT100_COLOR_DEFAULT , "testing %d %s %c" ,
334334 1 , "2" , '3' );
335335 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 " ,
337337 sizeof (expect ), size );
338338
339339 /*
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ ZTEST(sh, test_shell_fprintf)
4444 shell_fprintf (sh , SHELL_VT100_COLOR_DEFAULT , "testing %d %s %c" ,
4545 1 , "2" , '3' );
4646 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 " ,
4848 sizeof (expect ), size );
4949
5050 /*
You can’t perform that action at this time.
0 commit comments