More strict printf() format string.

This commit is contained in:
Sven Michael Klose 2021-12-25 20:04:10 +01:00 committed by mrdudz
parent d29ec4c800
commit c2608599aa
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ void
check (size_t result, size_t expected)
{
if (result != expected) {
printf ("Expected strnlen() to return %d, got %d.\n",
printf ("Expected strnlen() to return %u, got %u.\n",
expected, result);
exit (EXIT_FAILURE);
}