about summary refs log tree commit diff
path: root/stdio-common/tst-fphex.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tst-fphex.c')
-rw-r--r--stdio-common/tst-fphex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/tst-fphex.c b/stdio-common/tst-fphex.c
index aca2c0500d..212e4ed9ec 100644
--- a/stdio-common/tst-fphex.c
+++ b/stdio-common/tst-fphex.c
@@ -39,7 +39,7 @@ do_test (int argc, char **argv)
       int n = snprintf (buf, sizeof buf, t->fmt, t->value);
       if (n != strlen (t->expect) || strcmp (buf, t->expect) != 0)
 	{
-	  printf ("%s\tExpected \"%s\" (%u)\n\tGot      \"%s\" (%d, %u)\n",
+	  printf ("%s\tExpected \"%s\" (%Zu)\n\tGot      \"%s\" (%d, %Zu)\n",
 		  t->fmt, t->expect, strlen (t->expect), buf, n, strlen (buf));
 	  result = 1;
 	}