Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* libio/bug-ftell.c (do_test): Add a cast.
  • Loading branch information
Roland McGrath committed Nov 1, 2003
1 parent c1e781a commit 47a4117
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions ChangeLog
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion libio/bug-ftell.c
Expand Up @@ -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);
Expand Down

0 comments on commit 47a4117

Please sign in to comment.