diff libmpdemux/demux_lmlm4.c @ 33841:25667edae85c

cleanup: adjust printf format strings to match parameter types This eliminates a bunch of related compiler warnings.
author diego
date Wed, 27 Jul 2011 13:40:06 +0000
parents a86413775fbe
children 8f81a826c86e
line wrap: on
line diff
--- a/libmpdemux/demux_lmlm4.c	Wed Jul 27 13:40:00 2011 +0000
+++ b/libmpdemux/demux_lmlm4.c	Wed Jul 27 13:40:06 2011 +0000
@@ -73,7 +73,7 @@
          frame->frameSize > MAX_PACKET_SIZE || frame->frameSize <= 0)
     {
         mp_msg(MSGT_DEMUX, MSGL_V,
-               "Invalid packet in LMLM4 stream: ch=%d size=%zd\n",
+               "Invalid packet in LMLM4 stream: ch=%d size=%zu\n",
                frame->channelNo, frame->frameSize);
         return 0;
     }
@@ -158,7 +158,7 @@
     frameInfo->frameSize = packetSize - 8; //sizeof(IME6400Header);
     frameInfo->paddingSize = (packetSize & PACKET_BLOCK_LAST) ? PACKET_BLOCK_SIZE - (packetSize & PACKET_BLOCK_LAST) : 0;
 
-    mp_msg(MSGT_DEMUX, MSGL_DBG2, "typ: %d chan: %d size: %zd pad: %zd\n",
+    mp_msg(MSGT_DEMUX, MSGL_DBG2, "typ: %d chan: %d size: %zu pad: %zu\n",
             frameInfo->frameType,
             frameInfo->channelNo,
             frameInfo->frameSize,