changeset 12150:30867f2c9009 libavcodec

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
author diego
date Mon, 12 Jul 2010 19:36:35 +0000
parents e7634f1b6100
children fb37ee915b73
files wmavoice.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
     }