From: Andreas Jaeger Date: Mon, 30 Sep 2002 06:53:25 +0000 (+0000) Subject: (test): Use %td in printf for ptrdiff_t. X-Git-Tag: upstream/2.30~21000 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14bdd76de37251ebb6f9eb22d1552436f8c65a19;p=external%2Fglibc.git (test): Use %td in printf for ptrdiff_t. --- 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); }