From: Alyssa Rosenzweig Date: Fri, 13 Dec 2019 15:22:06 +0000 (-0500) Subject: pandecode: Add cast X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ddbbb2db4879ffc95398bb2f5b085e98cbcf9189;p=mesa.git pandecode: Add cast Fixes minor coverity warning about the format specifier. Signed-off-by: Alyssa Rosenzweig --- 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;