aboutsummaryrefslogtreecommitdiff
path: root/libio/bug-ftell.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-11-01 21:11:05 +0000
committerRoland McGrath <roland@gnu.org>2003-11-01 21:11:05 +0000
commit47a4117530535d66773e8f7048567ab92d1b26dc (patch)
treea9dfb7d5c1314b73ef8bdc0731592770199b9b48 /libio/bug-ftell.c
parentc1e781ae7c77a3d37d99c5bfec048a38d875ab07 (diff)
downloadglibc-47a4117530535d66773e8f7048567ab92d1b26dc.zip
glibc-47a4117530535d66773e8f7048567ab92d1b26dc.tar.gz
glibc-47a4117530535d66773e8f7048567ab92d1b26dc.tar.bz2
* libio/bug-ftell.c (do_test): Add a cast.
Diffstat (limited to 'libio/bug-ftell.c')
-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 7eb0f46..496c8cb 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);