From 0c717a30e0975cb26578c04385915bdddedecdd6 Mon Sep 17 00:00:00 2001 From: Zhentan Feng Date: Tue, 20 Jul 2010 15:05:45 +0000 Subject: [PATCH] =?UTF-8?q?Fix=20a=20compile=20warning=20when=20compiling?= =?UTF-8?q?=20with=20DEBUG=3D1.=20The=20warning=20was:=20format=20?= =?UTF-8?q?=E2=80=98%d=E2=80=99=20expects=20type=20=E2=80=98int=E2=80=99,?= =?UTF-8?q?=20but=20argument=203=20has=20type=20=E2=80=98uint64=5Ft?= =?UTF-8?q?=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by Zhentan Feng . Originally committed as revision 24359 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mmst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mmst.c b/libavformat/mmst.c index 7a922bfceb..5d39c62306 100644 --- a/libavformat/mmst.c +++ b/libavformat/mmst.c @@ -444,7 +444,7 @@ static int asf_header_parser(MMSContext *mms) while(end - p >= sizeof(ff_asf_guid) + 8) { uint64_t chunksize = AV_RL64(p + sizeof(ff_asf_guid)); if (!chunksize || chunksize > end - p) { - dprintf(NULL, "chunksize is exceptional value:%d!\n", chunksize); + dprintf(NULL, "chunksize is exceptional value:%"PRId64"!\n", chunksize); return -1; } if (!memcmp(p, ff_asf_file_header, sizeof(ff_asf_guid))) {