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/xwddec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavcodec/xwddec.c') diff --git a/libavcodec/xwddec.c b/libavcodec/xwddec.c index eede5e5f4f..f6ccb96988 100644 --- a/libavcodec/xwddec.c +++ b/libavcodec/xwddec.c @@ -83,7 +83,9 @@ static int xwd_decode_frame(AVCodecContext *avctx, void *data, av_log(avctx, AV_LOG_DEBUG, "vclass %"PRIu32", ncolors %"PRIu32", bpp %"PRIu32", be %"PRIu32", lsize %"PRIu32", xoffset %"PRIu32"\n", vclass, ncolors, bpp, be, lsize, xoffset); - av_log(avctx, AV_LOG_DEBUG, "red %0x, green %0x, blue %0x\n", rgb[0], rgb[1], rgb[2]); + av_log(avctx, AV_LOG_DEBUG, + "red %0"PRIx32", green %0"PRIx32", blue %0"PRIx32"\n", + rgb[0], rgb[1], rgb[2]); if (pixformat > XWD_Z_PIXMAP) { av_log(avctx, AV_LOG_ERROR, "invalid pixmap format\n"); -- cgit v1.2.3