From cba4e6062a02d5bf684e13a770be88aa1fec717e Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 1 Apr 2014 18:19:59 +0000 Subject: More correct printf format specifiers This avoids compiler warnings about argument and specifier type mismatch. --- libavcodec/wmaprodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/wmaprodec.c') diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c index 0a8ebc5f87..afe6ac2c95 100644 --- a/libavcodec/wmaprodec.c +++ b/libavcodec/wmaprodec.c @@ -239,7 +239,7 @@ typedef struct WMAProDecodeCtx { static av_cold void dump_context(WMAProDecodeCtx *s) { #define PRINT(a, b) av_log(s->avctx, AV_LOG_DEBUG, " %s = %d\n", a, b); -#define PRINT_HEX(a, b) av_log(s->avctx, AV_LOG_DEBUG, " %s = %x\n", a, b); +#define PRINT_HEX(a, b) av_log(s->avctx, AV_LOG_DEBUG, " %s = %"PRIx32"\n", a, b); PRINT("ed sample bit depth", s->bits_per_sample); PRINT_HEX("ed decode flags", s->decode_flags); -- cgit v1.2.3