From 07c8154cb7f7f0f9387e64ddccd8705c048b35d8 Mon Sep 17 00:00:00 2001 From: Akos Kiss Date: Wed, 22 Jul 2015 21:18:50 +0000 Subject: 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) --- src/api/x11/window.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/api') diff --git a/src/api/x11/window.rs b/src/api/x11/window.rs index 6a4f39a..35b6a84 100644 --- a/src/api/x11/window.rs +++ b/src/api/x11/window.rs @@ -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); }); -- cgit v1.2.3