diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-05-21 21:37:19 +0200 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-05-21 21:37:19 +0200 |
commit | e5f888e19a0396b62c2e2a776ddc86652792defb (patch) | |
tree | 7385d151cf00d0ea0fe240e69550c2c0e58d9722 /src/api/x11 | |
parent | 0a1fe4b8aadd25a91b73c1d06a8854a2c21160a1 (diff) | |
parent | 9c218992491beb4929ca3369779956415f916ce1 (diff) | |
download | glutin-e5f888e19a0396b62c2e2a776ddc86652792defb.tar.gz glutin-e5f888e19a0396b62c2e2a776ddc86652792defb.zip |
Merge pull request #460 from tomaka/fix-compilation-32bits
Fix the compilation on 32bits linux
Diffstat (limited to 'src/api/x11')
-rw-r--r-- | src/api/x11/window.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/x11/window.rs b/src/api/x11/window.rs index 4582c3e..38838f5 100644 --- a/src/api/x11/window.rs +++ b/src/api/x11/window.rs @@ -202,7 +202,7 @@ impl<'a> Iterator for PollEventsIterator<'a> { (self.window.x.display.xlib.XKeycodeToKeysym)(self.window.x.display.display, event.keycode as ffi::KeyCode, 0) }; - if (ffi::XK_KP_Space as u64 <= keysym) && (keysym <= ffi::XK_KP_9 as u64) { + if (ffi::XK_KP_Space as libc::c_ulong <= keysym) && (keysym <= ffi::XK_KP_9 as libc::c_ulong) { keysym = kp_keysym }; |