From 14bdd76de37251ebb6f9eb22d1552436f8c65a19 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 30 Sep 2002 06:53:25 +0000 Subject: (test): Use %td in printf for ptrdiff_t. --- iconvdata/tst-e2big.c | 4 ++-- 1 file 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); } -- cgit 1.4.1