From: Stefan Reinauer Date: Sun, 31 May 2026 02:55:32 +0000 (-0700) Subject: native2amiga: pass signal state as pipe pointer X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=91dabdbd43973808b1f4764c11bf48854cd3381d;p=francis%2Fwinuae.git 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. --- 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();