lima: fix stringop-overflow warning
authorErico Nunes <nunes.erico@gmail.com>
Sun, 26 Mar 2023 19:12:18 +0000 (21:12 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 17 Apr 2023 10:15:25 +0000 (10:15 +0000)
commit1eb2359bbdd4bf00a8844095f2a24d8ada961906
treeb5b358af9515e978f6f175620e22c110e9d5b625
parent4f42d3b843c2b5a07b70e1de2467c8b3a34b7de0
lima: fix stringop-overflow warning

New versions of gcc output a warning about this code, apparently
because of the mix of signed and unsigned operations in the loop
condition. Rework the types to fix the warning.

Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22129>
src/gallium/drivers/lima/ir/pp/disasm.c