aboutsummaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
Diffstat (limited to 'libio')
-rw-r--r--libio/bug-ftell.c3
1 files changed, 2 insertions, 1 deletions
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);