diff options
author | Andreas Jaeger <aj@suse.de> | 2002-09-30 06:53:25 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2002-09-30 06:53:25 +0000 |
commit | 14bdd76de37251ebb6f9eb22d1552436f8c65a19 (patch) | |
tree | c271c3d98049f0588fabead3549dfd0a4107352a /iconvdata | |
parent | 45c1700cd977709ce3ca27958092b8bd31baca20 (diff) | |
download | glibc-14bdd76de37251ebb6f9eb22d1552436f8c65a19.zip glibc-14bdd76de37251ebb6f9eb22d1552436f8c65a19.tar.gz glibc-14bdd76de37251ebb6f9eb22d1552436f8c65a19.tar.bz2 |
(test): Use %td in printf for ptrdiff_t.
Diffstat (limited to 'iconvdata')
-rw-r--r-- | iconvdata/tst-e2big.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iconvdata/tst-e2big.c b/iconvdata/tst-e2big.c index f471716..8c4d273 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); } |