diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-04-01 22:19:59 +0400 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-04-02 02:27:22 +0400 |
commit | cba4e6062a02d5bf684e13a770be88aa1fec717e (patch) | |
tree | cf0ecd5a96c69be36b166d68356c64f637893fbd /libavcodec/xwddec.c | |
parent | 80035db88c1f7cc23110c7472a2b13a4d2d8b73e (diff) |
More correct printf format specifiers
This avoids compiler warnings about argument and specifier type mismatch.
Diffstat (limited to 'libavcodec/xwddec.c')
-rw-r--r-- | libavcodec/xwddec.c | 4 |
1 files changed, 3 insertions, 1 deletions
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"); |