140b3e1f8f
Besides being not standard C, one instance (in pvr_cmd_buffer.c) was a bug caused by adding-then-casting, which would likely have been caught if void pointer arithmetic were not allowed. All instances detected by -Wpointer-arith have been fixed here. Signed-off-by: Matt Coster <matt.coster@imgtec.com> Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25327>