diff options
author | Alyssa Rosenzweig <[email protected]> | 2019-12-13 10:22:06 -0500 |
---|---|---|
committer | Alyssa Rosenzweig <[email protected]> | 2019-12-13 10:26:35 -0500 |
commit | ddbbb2db4879ffc95398bb2f5b085e98cbcf9189 (patch) | |
tree | 5c2d39dd2e298d4069419b138f431e416253181d /src/panfrost/pandecode | |
parent | 4f7fddbd7169a2976b56edb39d15c64206e31ebc (diff) |
pandecode: Add cast
Fixes minor coverity warning about the format specifier.
Signed-off-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/panfrost/pandecode')
-rw-r--r-- | src/panfrost/pandecode/decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |