summaryrefslogtreecommitdiffstats
path: root/libmpdemux/stream_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/stream_file.c')
-rw-r--r--libmpdemux/stream_file.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libmpdemux/stream_file.c b/libmpdemux/stream_file.c
index 241c1cffa5..b6c1028f5f 100644
--- a/libmpdemux/stream_file.c
+++ b/libmpdemux/stream_file.c
@@ -140,11 +140,7 @@ static int open_f(stream_t *stream,int mode, void* opts, int* file_format) {
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;