Skip to content

Commit

Permalink
(test): Use %td in printf for ptrdiff_t.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Jaeger committed Sep 30, 2002
1 parent 45c1700 commit 14bdd76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iconvdata/tst-e2big.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 14bdd76

Please sign in to comment.