From 91dabdbd43973808b1f4764c11bf48854cd3381d Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sat, 30 May 2026 19:55:32 -0700 Subject: [PATCH] native2amiga: pass signal state as pipe pointer write_comm_pipe_pvoid stores a pointer-sized value. Cast the processed-state token through void * at the call site so the helper receives the type it expects. --- native2amiga.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native2amiga.cpp b/native2amiga.cpp index 630a9104..9aaba92d 100644 --- a/native2amiga.cpp +++ b/native2amiga.cpp @@ -105,7 +105,7 @@ void uae_Signal_with_Func(uaecptr task, uae_u32 mask, UAE_PROCESSED state) { uae_nativesem_wait(); write_comm_pipe_int(&native2amiga_pending, 0 | 0x80, 0); - write_comm_pipe_pvoid(&native2amiga_pending, state, 0); + write_comm_pipe_pvoid(&native2amiga_pending, (void*)state, 0); write_comm_pipe_u32(&native2amiga_pending, task, 0); write_comm_pipe_int(&native2amiga_pending, mask, 1); do_uae_int_requested(); -- 2.47.3