libagx: fix cl warning

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32081>
This commit is contained in:
Alyssa Rosenzweig 2024-10-31 11:48:20 -04:00 committed by Marge Bot
parent 663b367a76
commit 28a2844309

View file

@ -85,7 +85,7 @@ libagx_helper(void)
}
default:
*(global uint32_t *)(0xdead0000 | (op << 8)) = 0;
*(global uint32_t *)((uintptr_t)(0xdead0000 | (op << 8))) = 0;
nir_fence_helper_exit_agx();
return;
}