i965: Explicitly cast value to uint64_t
authorEmmanuel <manu@FreeBSD.org>
Fri, 24 Jan 2020 22:48:06 +0000 (23:48 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 1 Jul 2020 16:47:05 +0000 (16:47 +0000)
commitf678811b567aafba60842bf0b3cff124da4daa0e
tree7e6700fe257655f0a3dd1b774dbb86ea87e394aa
parent565a80450d28f6daa0ca8b98dad93924e712f94b
i965: 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/mesa/drivers/dri/i965/intel_batchbuffer.c