diff --git a/src/asahi/lib/shaders/helper.cl b/src/asahi/lib/shaders/helper.cl index 069957cbe7f..b03839af132 100644 --- a/src/asahi/lib/shaders/helper.cl +++ b/src/asahi/lib/shaders/helper.cl @@ -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; }