about summary refs log tree commit diff
path: root/libio/tst-fgetws.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-09-30 07:47:16 +0000
committerAndreas Jaeger <aj@suse.de>2002-09-30 07:47:16 +0000
commit9a2d7205aa046af3f4caf1b35388e9100e2a25db (patch)
treeb03b171dac305af547caacbab7e81c209b60a480 /libio/tst-fgetws.c
parent3efdff78b3ca58748dc709d3c6f6d32f7c6f0f05 (diff)
downloadglibc-9a2d7205aa046af3f4caf1b35388e9100e2a25db.tar.gz
glibc-9a2d7205aa046af3f4caf1b35388e9100e2a25db.tar.xz
glibc-9a2d7205aa046af3f4caf1b35388e9100e2a25db.zip
Fix format strings.
Diffstat (limited to 'libio/tst-fgetws.c')
-rw-r--r--libio/tst-fgetws.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libio/tst-fgetws.c b/libio/tst-fgetws.c
index 66fb9d1d8e..1e29332743 100644
--- a/libio/tst-fgetws.c
+++ b/libio/tst-fgetws.c
@@ -91,7 +91,7 @@ main (int argc, char *argv[])
     {
       printf ("Return Value: %p\n", ret);
       for (i = 0; i < wcslen (wcs) + 1; i++)
-	printf (" wcs[%d] = %04x", i, (unsigned int)wcs[i]);
+	printf (" wcs[%zd] = %04x", i, (unsigned int)wcs[i]);
       printf ("\n");
       result = 1;
     }
@@ -127,7 +127,7 @@ main (int argc, char *argv[])
 
       printf ("Return Value: %p\n", ret);
       for (i = 0; i < wcslen (wcs) + 1; i++)
-	printf (" wcs[%d] = 0x%04x", i, (unsigned int)wcs[i]);
+	printf (" wcs[%zd] = 0x%04x", i, (unsigned int)wcs[i]);
       printf ("\n");
 
       for (i = 0; il_str2[i] != '\n'; ++i)
@@ -172,7 +172,7 @@ main (int argc, char *argv[])
     {
       printf ("Return Value: %p\n", ret);
       for (i = 0; i < wcslen (wcs) + 1; i++)
-	printf (" wcs[%d] = 0x%04x", i, (unsigned int)wcs[i]);
+	printf (" wcs[%zd] = 0x%04x", i, (unsigned int)wcs[i]);
       printf ("\n");
     }