aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authortomaka <pierre.krieger1708@gmail.com>2015-07-23 08:56:33 +0200
committertomaka <pierre.krieger1708@gmail.com>2015-07-23 08:56:33 +0200
commit20dbd2a8b04c07f67bf3aafcba6b07dce41addfe (patch)
tree97e1cba5edb04a9905a3e858038863f9875d1d75 /src
parenteb8611f2724401a84b84fa4e30ba570edf011886 (diff)
parent07c8154cb7f7f0f9387e64ddccd8705c048b35d8 (diff)
downloadglutin-20dbd2a8b04c07f67bf3aafcba6b07dce41addfe.tar.gz
glutin-20dbd2a8b04c07f67bf3aafcba6b07dce41addfe.zip
Merge pull request #538 from akiss77/aarch64-support-upstream
Add aarch64-unknown-linux-gnu support
Diffstat (limited to 'src')
-rw-r--r--src/api/x11/window.rs4
1 files changed, 2 insertions, 2 deletions
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);
});