diff libmpdemux/demux_ty.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 6ff303d2876b
children 9081ae3a702c
line wrap: on
line diff
--- a/libmpdemux/demux_ty.c	Thu Oct 13 13:24:35 2005 +0000
+++ b/libmpdemux/demux_ty.c	Thu Oct 13 18:33:56 2005 +0000
@@ -240,13 +240,13 @@
          mp_msg
          ( 
             MSGT_DEMUX, MSGL_DBG3,
-           "tmf_filetoparts(): size %lld\n",
+           "tmf_filetoparts(): size %"PRId64"\n",
            tivo->tmfparts[ parts ].fileSize
          );
          mp_msg
          ( 
             MSGT_DEMUX, MSGL_DBG3,
-           "tmf_filetoparts(): startOffset %lld\n",
+           "tmf_filetoparts(): startOffset %"PRId64"\n",
            tivo->tmfparts[ parts ].startOffset
          );
          parts++;
@@ -283,7 +283,7 @@
       tivo->tmf_totalchunks += ( tivo->tmfparts[ index ].fileSize / CHUNKSIZE );
    }
    mp_msg( MSGT_DEMUX, MSGL_DBG3,
-      "tmf_filetoparts():total size %lld\n", tivo->tmf_totalsize );
+      "tmf_filetoparts():total size %"PRId64"\n", tivo->tmf_totalsize );
    mp_msg( MSGT_DEMUX, MSGL_DBG3,
       "tmf_filetoparts():total chunks %d\n", tivo->tmf_totalchunks );
 
@@ -317,7 +317,7 @@
    mp_msg
    ( 
       MSGT_DEMUX, MSGL_DBG3, 
-      "tmf_filetooffset() offset %llx\n", *offset
+      "tmf_filetooffset() offset %"PRIx64"\n", *offset
    );
 }
 
@@ -728,7 +728,7 @@
                      tivo->size = numberParts * TIVO_PART_LENGTH;
                      tivo->size += size;
                      mp_msg( MSGT_DEMUX, MSGL_DBG3, 
-                        "ty:Header Calc Stream Size %lld\n", tivo->size );
+                        "ty:Header Calc Stream Size %"PRId64"\n", tivo->size );
                   }
                }
             }
@@ -754,13 +754,13 @@
    // Give a clue as to where we are in the stream
    // ======================================================================
    mp_msg( MSGT_DEMUX, MSGL_DBG3,
-      "ty:ty header size %llx\n", tivo->size );
+      "ty:ty header size %"PRIx64"\n", tivo->size );
    mp_msg( MSGT_DEMUX, MSGL_DBG3,
-      "ty:ty which Chunk %llx\n", tivo->whichChunk );
+      "ty:ty which Chunk %"PRIx64"\n", tivo->whichChunk );
    mp_msg( MSGT_DEMUX, MSGL_DBG3,
-      "ty:file end_pos   %llx\n", demux->stream->end_pos );
+      "ty:file end_pos   %"PRIx64"\n", demux->stream->end_pos );
    mp_msg( MSGT_DEMUX, MSGL_DBG3,
-      "\nty:wanted current offset %llx\n", stream_tell( demux->stream ) );
+      "\nty:wanted current offset %"PRIx64"\n", stream_tell( demux->stream ) );
 
    if ( tivo->size > 0 )
    {
@@ -826,7 +826,7 @@
       }
    }   
    mp_msg( MSGT_DEMUX, MSGL_DBG3,
-      "\nty:actual current offset %llx\n", ( stream_tell( demux->stream ) - 
+      "\nty:actual current offset %"PRIx64"\n", ( stream_tell( demux->stream ) - 
 		0x20000 ) );