HomeFreeBSD

x11/rlaunch: fix build with unsigned char

Description

x11/rlaunch: fix build with unsigned char

error[E0308]: mismatched types

--> src/x11.rs:310:54
 |

310 | (self.xlib.XLookupString)(&mut keyevent, &mut c_char, 1, null_mut(), null_mut());

|             -------------------------                ^^^^^^^^^^^ expected `u8`, found `i8`
|             |
|             arguments to this function are incorrect
|
= note:    expected raw pointer `*mut u8`
        found mutable reference `&mut i8`

Details

Provenance
pkubajAuthored on Jan 8 2023, 11:50 AM
Parents
R11:7eb89cf86e6b: www/varnish-libvmod-fileserver: fix build on ARM / POWER
Branches
Unknown
Tags
Unknown