summaryrefslogtreecommitdiff
path: root/stdio-common/tst-fmemopen2.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2006-01-08 08:24:11 +0000
committerRoland McGrath <roland@gnu.org>2006-01-08 08:24:11 +0000
commit7b1b6d57d0417dcf3e8db1ce13fcb245a0bf2c33 (patch)
tree29031842c56a41b6bd7c794424d7af960eef4b3c /stdio-common/tst-fmemopen2.c
parent6ddd37a4b39d8023ce63326ce11d7735e141dc0e (diff)
* stdio-common/tst-fmemopen2.c (do_test): Add a cast.
* stdio-common/printf-parsemb.c (__find_specmb): Likewise. * sysdeps/unix/sysv/linux/poll.c: Likewise.
Diffstat (limited to 'stdio-common/tst-fmemopen2.c')
-rw-r--r--stdio-common/tst-fmemopen2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/tst-fmemopen2.c b/stdio-common/tst-fmemopen2.c
index bcb136e8c1..81beddddef 100644
--- a/stdio-common/tst-fmemopen2.c
+++ b/stdio-common/tst-fmemopen2.c
@@ -28,7 +28,7 @@ do_test (void)
o = ftello (fp);
if (o != 0)
{
- printf ("second ftello returned %ld, expected %zu\n", o, 0);
+ printf ("second ftello returned %ld, expected %zu\n", o, (off_t) 0);
result = 1;
}
if (fseeko (fp, 0, SEEK_END) != 0)