(do_test): Avoid fmt string warning if off_t is different rank from size_t.
authordrepper <drepper>
Wed, 1 Aug 2007 03:43:33 +0000 (03:43 +0000)
committerdrepper <drepper>
Wed, 1 Aug 2007 03:43:33 +0000 (03:43 +0000)
stdio-common/tst-fmemopen2.c

index 81beddd..c2a4baa 100644 (file)
@@ -28,7 +28,7 @@ do_test (void)
   o = ftello (fp);
   if (o != 0)
     {
-      printf ("second ftello returned %ld, expected %zu\n", o, (off_t) 0);
+      printf ("second ftello returned %ld, expected 0\n", o);
       result = 1;
     }
   if (fseeko (fp, 0, SEEK_END) != 0)