diff options
author | Tomeu Vizoso <[email protected]> | 2020-04-27 16:10:16 +0200 |
---|---|---|
committer | Tomeu Vizoso <[email protected]> | 2020-04-30 16:27:46 +0200 |
commit | 0edc29020b2830497f31b06898ca26715ecfd001 (patch) | |
tree | 3d9c356fe2cc32d9b57da7b59c8997fec4dc758c /src/panfrost/pandecode | |
parent | 03963febeffadefc4f47adaf0bbd3618d5692b25 (diff) |
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 <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4724>
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 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); |