From 28a284430976e2aac857050f633a33ad90d69300 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Thu, 31 Oct 2024 11:48:20 -0400 Subject: [PATCH] libagx: fix cl warning Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/lib/shaders/helper.cl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }