From 47a4117530535d66773e8f7048567ab92d1b26dc Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 1 Nov 2003 21:11:05 +0000 Subject: [PATCH] * libio/bug-ftell.c (do_test): Add a cast. --- ChangeLog | 4 ++++ libio/bug-ftell.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1842eb5de1..fa081e6312 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2003-11-01 Roland McGrath + + * libio/bug-ftell.c (do_test): Add a cast. + 2003-09-26 Daniel Jacobowitz * Makerules (shlib.lds): Make sure that ld doesn't try to link diff --git a/libio/bug-ftell.c b/libio/bug-ftell.c index 7eb0f46810..496c8cb75c 100644 --- a/libio/bug-ftell.c +++ b/libio/bug-ftell.c @@ -35,7 +35,8 @@ do_test (void) wint_t wc = fgetwc (fp); if (wc != (wint_t) *cp) { - printf ("fgetwc failed: got L'%lc', expected L'%lc'\n", wc, *cp); + printf ("fgetwc failed: got L'%lc', expected L'%lc'\n", + wc, (wint_t) *cp); return 1; } off_t o = ftello (fp);