diff libmpdemux/stream_file.c @ 16750:0a31740dd5e6

Use PRI?64 defines as format strings for 64 bit variables.
author reimar
date Thu, 13 Oct 2005 18:33:56 +0000
parents ec02252fbaa6
children 6ff3379a0862
line wrap: on
line diff
--- a/libmpdemux/stream_file.c	Thu Oct 13 13:24:35 2005 +0000
+++ b/libmpdemux/stream_file.c	Thu Oct 13 18:33:56 2005 +0000
@@ -140,11 +140,7 @@
     stream->type = STREAMTYPE_FILE;
   }
 
-#ifdef _LARGEFILE_SOURCE
-  mp_msg(MSGT_OPEN,MSGL_V,"[file] File size is %lld bytes\n", (long long)len);
-#else
-  mp_msg(MSGT_OPEN,MSGL_V,"[file] File size is %u bytes\n", (unsigned int)len);
-#endif 
+  mp_msg(MSGT_OPEN,MSGL_V,"[file] File size is %"PRId64" bytes\n", (int64_t)len);
 
   stream->fd = f;
   stream->fill_buffer = fill_buffer;