# HG changeset patch # User diego # Date 1278963395 0 # Node ID 30867f2c9009eec13a2dfe9e25c2daf670abd08d # Parent e7634f1b610004c15283ddaf6a930be548d3aa32 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 diff -r e7634f1b6100 -r 30867f2c9009 wmavoice.c --- a/wmavoice.c Mon Jul 12 18:52:03 2010 +0000 +++ b/wmavoice.c Mon Jul 12 19:36:35 2010 +0000 @@ -1902,7 +1902,7 @@ 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; }