Add aarch64-unknown-linux-gnu support
* Adding dependencies * Replacing `i8` with `c_char` ot `_` (since `c_char` can be unsigned on some platforms, aarch64 is one of them)
This commit is contained in:
parent
eb8611f272
commit
07c8154cb7
3 changed files with 9 additions and 3 deletions
|
|
@ -492,8 +492,8 @@ impl Window {
|
|||
unsafe {
|
||||
with_c_str(&*builder.title, |c_name| {
|
||||
let hint = (display.xlib.XAllocClassHint)();
|
||||
(*hint).res_name = c_name as *mut i8;
|
||||
(*hint).res_class = c_name as *mut i8;
|
||||
(*hint).res_name = c_name as *mut libc::c_char;
|
||||
(*hint).res_class = c_name as *mut libc::c_char;
|
||||
(display.xlib.XSetClassHint)(display.display, window, hint);
|
||||
(display.xlib.XFree)(hint as *mut libc::c_void);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue