From: Tomeu Vizoso Date: Mon, 27 Apr 2020 14:10:16 +0000 (+0200) Subject: pan/decode: Use correct printf modifier for long int X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0edc29020b2830497f31b06898ca26715ecfd001;p=mesa.git 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: --- 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);