From ddbbb2db4879ffc95398bb2f5b085e98cbcf9189 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 13 Dec 2019 10:22:06 -0500 Subject: [PATCH] pandecode: Add cast Fixes minor coverity warning about the format specifier. Signed-off-by: Alyssa Rosenzweig --- 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 31a43dff0f9..efc9ef7087a 100644 --- a/src/panfrost/pandecode/decode.c +++ b/src/panfrost/pandecode/decode.c @@ -2459,7 +2459,7 @@ static void pandecode_vertex_tiler_postfix(const struct mali_vertex_tiler_postfix *p, int job_no, bool is_bifrost) { if (p->shader & 0xF) - pandecode_msg("warn: shader tagged %X\n", p->shader & 0xF); + pandecode_msg("warn: shader tagged %X\n", (unsigned) (p->shader & 0xF)); if (!(p->position_varying || p->occlusion_counter)) return; -- 2.30.2