From 862be470f3f96b7a0abc0c87fbc4ad463571ddee Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 12 Jul 2010 19:36:35 +0000 Subject: Use correct length modifier for size comparison in printf expression, fixes: libavcodec/wmavoice.c:1906: warning: format `%lu' expects type `long unsigned int', but argument 5 has type `unsigned int' approved by Ronald and Mans on IRC Originally committed as revision 24218 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/wmavoice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/wmavoice.c') diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c index b7b6de9a52..2a58014da3 100644 --- a/libavcodec/wmavoice.c +++ b/libavcodec/wmavoice.c @@ -1902,7 +1902,7 @@ static int wmavoice_decode_packet(AVCodecContext *ctx, void *data, if (*data_size < 480 * sizeof(float)) { av_log(ctx, AV_LOG_ERROR, - "Output buffer too small (%d given - %lu needed)\n", + "Output buffer too small (%d given - %zu needed)\n", *data_size, 480 * sizeof(float)); return -1; } -- cgit v1.2.3