Use %"PRIdPTR" instead of %d to silence gcc warning about type mismatch.
authorJustin Ruggles <justin.ruggles@gmail.com>
Thu, 30 Dec 2010 04:09:44 +0000 (04:09 +0000)
committerJustin Ruggles <justin.ruggles@gmail.com>
Thu, 30 Dec 2010 04:09:44 +0000 (04:09 +0000)
Originally committed as revision 26164 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/flac_parser.c

index 7337c02..23e32dc 100644 (file)
@@ -563,7 +563,7 @@ static int flac_parse(AVCodecParserContext *s, AVCodecContext *avctx,
         if (av_fifo_realloc2(fpc->fifo_buf,
                              (read_end - read_start) + av_fifo_size(fpc->fifo_buf)) < 0) {
             av_log(avctx, AV_LOG_ERROR,
-                   "couldn't reallocate buffer of size %d\n",
+                   "couldn't reallocate buffer of size %"PRIdPTR"\n",
                    (read_end - read_start) + av_fifo_size(fpc->fifo_buf));
             goto handle_error;
         }