about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2002-09-30 06:53:25 +0000
committerAndreas Jaeger <aj@suse.de>2002-09-30 06:53:25 +0000
commit14bdd76de37251ebb6f9eb22d1552436f8c65a19 (patch)
treec271c3d98049f0588fabead3549dfd0a4107352a
parent45c1700cd977709ce3ca27958092b8bd31baca20 (diff)
downloadglibc-14bdd76de37251ebb6f9eb22d1552436f8c65a19.tar.gz
glibc-14bdd76de37251ebb6f9eb22d1552436f8c65a19.tar.xz
glibc-14bdd76de37251ebb6f9eb22d1552436f8c65a19.zip
(test): Use %td in printf for ptrdiff_t.
-rw-r--r--iconvdata/tst-e2big.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iconvdata/tst-e2big.c b/iconvdata/tst-e2big.c
index f47171636c..8c4d273d01 100644
--- a/iconvdata/tst-e2big.c
+++ b/iconvdata/tst-e2big.c
@@ -67,12 +67,12 @@ test (const char *encoding, char *inbuf, size_t inbufsize, size_t outbufsize)
 
   if (!empty_input && empty_output)
     {
-      fprintf (stderr, "%s: ate %d input bytes\n", encoding, inptr - inbuf);
+      fprintf (stderr, "%s: ate %td input bytes\n", encoding, inptr - inbuf);
       exit (1);
     }
   if (empty_input && !empty_output)
     {
-      fprintf (stderr, "%s: produced %d output bytes\n",
+      fprintf (stderr, "%s: produced %td output bytes\n",
 	       encoding, outptr - outbuf);
       exit (1);
     }