diff stream/stream.h @ 34144:beafae9de2be

Employ correct off_t printf conversion specifiers; this time without typos. This fixes a handful of warnings like libmpcodecs/ve_vfw.c:150:7: warning: format '%d' expects type 'int', but argument 4 has type '__off64_t'
author diego
date Fri, 21 Oct 2011 15:44:58 +0000
parents a08f68ee111e
children 206264c532f5
line wrap: on
line diff
--- a/stream/stream.h	Fri Oct 21 15:44:56 2011 +0000
+++ b/stream/stream.h	Fri Oct 21 15:44:58 2011 +0000
@@ -294,11 +294,11 @@
 
 inline static int stream_seek(stream_t *s,off_t pos){
 
-  mp_dbg(MSGT_DEMUX, MSGL_DBG3, "seek to 0x%llX\n", (long long)pos);
+  mp_dbg(MSGT_DEMUX, MSGL_DBG3, "seek to 0x%"PRIX64"\n", pos);
 
   if (pos < 0) {
-    mp_msg(MSGT_DEMUX, MSGL_ERR, "Invalid seek to negative position %llx!\n",
-           (long long)pos);
+    mp_msg(MSGT_DEMUX, MSGL_ERR,
+           "Invalid seek to negative position %"PRIx64"!\n", pos);
     pos = 0;
   }
   if(pos<s->pos){