From dee089e9c2b582b098b7d7a254801222df724334 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Tue, 17 Sep 2024 21:14:32 -0400 Subject: [PATCH] hk: fix ptr cast Signed-off-by: Alyssa Rosenzweig Part-of: --- src/asahi/vulkan/hk_queue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asahi/vulkan/hk_queue.c b/src/asahi/vulkan/hk_queue.c index 4c1efc4eedf..1195ab56f99 100644 --- a/src/asahi/vulkan/hk_queue.c +++ b/src/asahi/vulkan/hk_queue.c @@ -325,7 +325,7 @@ queue_submit_single(struct agx_device *dev, struct drm_asahi_submit *submit) static VkResult queue_submit_looped(struct agx_device *dev, struct drm_asahi_submit *submit) { - struct drm_asahi_command *cmds = (void *)submit->commands; + struct drm_asahi_command *cmds = (void *)(uintptr_t)submit->commands; unsigned commands_remaining = submit->command_count; unsigned submitted_vdm = 0, submitted_cdm = 0;