summaryrefslogtreecommitdiff
path: root/libavcodec/wmavoice.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2010-07-12 19:36:35 +0000
committerDiego Biurrun <diego@biurrun.de>2010-07-12 19:36:35 +0000
commit862be470f3f96b7a0abc0c87fbc4ad463571ddee (patch)
treea7ca7bb737d85c13d644b8a21f6ef48b5968d365 /libavcodec/wmavoice.c
parent3cac899af968f9963241c0d0236a16d70eb6b06d (diff)
downloadffmpeg-862be470f3f96b7a0abc0c87fbc4ad463571ddee.tar.gz
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
Diffstat (limited to 'libavcodec/wmavoice.c')
-rw-r--r--libavcodec/wmavoice.c2
1 files changed, 1 insertions, 1 deletions
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;
}