error[E0308]: mismatched types
--> rio-window/src/platform_impl/linux/x11/ime/context.rs:175:13
|
175 | / mem::transmute::<
176 | | usize,
177 | | unsafe extern "C" fn(*mut x11_dl::xlib::_XIM, *mut i8, *mut i8),
178 | | >(preedit_start_callback as usize)
| |______________________________________________^ expected `u8`, found `i8`
|
= note: expected fn pointer `unsafe extern "C" fn(_, *mut u8, *mut u8)`
found fn pointer `unsafe extern "C" fn(_, *mut i8, *mut i8)`
Found when building rio for Void Linux https://github.com/void-linux/void-packages/actions/runs/10758124870/job/29833009268?pr=52138