intel/tools: fix invalid type in argument to printf format specifier
authorMarcin Ślusarz <marcin.slusarz@intel.com>
Thu, 24 Jun 2021 11:22:42 +0000 (13:22 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 28 Jun 2021 09:31:41 +0000 (09:31 +0000)
commit14227b3364c5ed84e0dcda8e2781fe899c51edba
tree261585e7ffee937655e0a9ea3620960a40b1db3a
parentf2a3c9de677ab8f55b15f7d201f484a084c98b27
intel/tools: fix invalid type in argument to printf format specifier

Also mark parse_error as printf-like to catch such errors with gcc.

CID: 1473100
CID: 1473101

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11574>
src/intel/tools/aub_read.c