dc1b988273
Masking with an ~7ull promotes the value to 64-bit, leading to a size mismatch when we cast it to a pointer. Make sure we're using an uintptr_t type for the mask. Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com> Tested-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32938>