summaryrefslogtreecommitdiff
path: root/stdio-common/tst-fmemopen2.c
diff options
context:
space:
mode:
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)