From 549045254c4614d5d61b5c36e340171a6914d57c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Mon, 27 Mar 2017 21:31:46 +0200 Subject: Fix all -Wformat warnings raised by DJGPP --- libavfilter/vf_paletteuse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavfilter/vf_paletteuse.c') diff --git a/libavfilter/vf_paletteuse.c b/libavfilter/vf_paletteuse.c index 69d3be9..e8dde57 100644 --- a/libavfilter/vf_paletteuse.c +++ b/libavfilter/vf_paletteuse.c @@ -491,7 +491,7 @@ static void disp_node(AVBPrint *buf, av_bprintf(buf, "%*cnode%d [" "label=\"%c%02X%c%02X%c%02X%c\" " "fillcolor=\"#%02x%02x%02x\" " - "fontcolor=\"#%06X\"]\n", + "fontcolor=\"#%06"PRIX32"\"]\n", depth*INDENT, ' ', node->palette_id, "[ "[node->split], node->val[0], "][ "[node->split], node->val[1], @@ -552,7 +552,7 @@ static int debug_accuracy(const struct color_node *node, const uint32_t *palette const int d2 = diff(palrgb2, rgb); if (d1 != d2) { av_log(NULL, AV_LOG_ERROR, - "/!\\ %02X%02X%02X: %d ! %d (%06X ! %06X) / dist: %d ! %d\n", + "/!\\ %02X%02X%02X: %d ! %d (%06"PRIX32" ! %06"PRIX32") / dist: %d ! %d\n", r, g, b, r1, r2, c1 & 0xffffff, c2 & 0xffffff, d1, d2); ret = 1; } -- cgit v1.1