iris: Explicitly cast value to uint64_t
authorEmmanuel <manu@FreeBSD.org>
Fri, 24 Jan 2020 22:45:40 +0000 (23:45 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 1 Jul 2020 16:47:05 +0000 (16:47 +0000)
commit565a80450d28f6daa0ca8b98dad93924e712f94b
tree875d4fe0269a11466f3513d31938d50a9dad5069
parent708db983dd08984b0cade15be576497661ef154c
iris: Explicitly cast value to uint64_t

In FreeBSD x86 and aarch64 __u64 is typedef to unsigned long and
is the same size as unsigned long long.
Since we are explicitly specifying the format, cast the value
to the proper type.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Emmanuel <manu@FreeBSD.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3559>
src/gallium/drivers/iris/iris_batch.c