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 <tomeu.vizoso@collabora.com> Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4724>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user