From 0edc29020b2830497f31b06898ca26715ecfd001 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Mon, 27 Apr 2020 16:10:16 +0200 Subject: [PATCH] pan/decode: Use correct printf modifier for long int As reported by Coverity: >>> CID 1462605: API usage errors (PRINTF_ARGS) >>> Argument "p->zero5" to format specifier "%x" was expected to have type "unsigned int" but has type "unsigned long". Signed-off-by: Tomeu Vizoso Reviewed-by: Alyssa Rosenzweig Part-of: --- src/panfrost/pandecode/decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panfrost/pandecode/decode.c b/src/panfrost/pandecode/decode.c index 32effb30f18..a76cb58b38c 100644 --- a/src/panfrost/pandecode/decode.c +++ b/src/panfrost/pandecode/decode.c @@ -2817,7 +2817,7 @@ pandecode_vertex_tiler_postfix(const struct mali_vertex_tiler_postfix *p, int jo if (p->zero5) { pandecode_msg("XXX: vertex only zero tripped"); - pandecode_prop("zero5 = 0x%" PRIx32, p->zero5); + pandecode_prop("zero5 = 0x%" PRIx64, p->zero5); } MEMORY_PROP(p, position_varying); -- 2.30.2