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.
{
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();