* libio/bug-ftell.c (do_test): Add a cast.

This commit is contained in:
Roland McGrath 2003-11-01 21:11:05 +00:00
parent c1e781ae7c
commit 47a4117530
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-11-01 Roland McGrath <roland@redhat.com>
* libio/bug-ftell.c (do_test): Add a cast.
2003-09-26 Daniel Jacobowitz <drow@mvista.com>
* Makerules (shlib.lds): Make sure that ld doesn't try to link

View File

@ -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);