summaryrefslogtreecommitdiffstats
path: root/libmpdemux/cache2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/cache2.c')
-rw-r--r--libmpdemux/cache2.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libmpdemux/cache2.c b/libmpdemux/cache2.c
index a499c016b8..d0822b1205 100644
--- a/libmpdemux/cache2.c
+++ b/libmpdemux/cache2.c
@@ -362,11 +362,7 @@ int cache_stream_seek_long(stream_t *stream,off_t pos){
// stream->buf_pos=stream->buf_len=0;
// return 1;
-#ifdef _LARGEFILE_SOURCE
- mp_msg(MSGT_CACHE,MSGL_V,"cache_stream_seek: WARNING! Can't seek to 0x%llX !\n",(long long)(pos+newpos));
-#else
- mp_msg(MSGT_CACHE,MSGL_V,"cache_stream_seek: WARNING! Can't seek to 0x%X !\n",(pos+newpos));
-#endif
+ mp_msg(MSGT_CACHE,MSGL_V,"cache_stream_seek: WARNING! Can't seek to 0x%"PRIX64" !\n",(int64_t)(pos+newpos));
return 0;
}