mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
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:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user