diff options
author | cyclopsian <43323938+cyclopsian@users.noreply.github.com> | 2019-10-20 12:31:00 +0000 |
---|---|---|
committer | Christian Duerr <contact@christianduerr.com> | 2019-10-20 14:30:59 +0200 |
commit | 8a263414572d8ed4d771461de2fdbd9f7e549a75 (patch) | |
tree | b3a654881f8a5e8a4967c6b3a3bae8ad64bb74a3 /alacritty/src | |
parent | a75e9493449d90b54a140b76f6a96b684784a059 (diff) | |
download | r-alacritty-8a263414572d8ed4d771461de2fdbd9f7e549a75.tar.gz r-alacritty-8a263414572d8ed4d771461de2fdbd9f7e549a75.tar.bz2 r-alacritty-8a263414572d8ed4d771461de2fdbd9f7e549a75.zip |
Fix XEmbed compilation error on 32-bit platforms
Diffstat (limited to 'alacritty/src')
-rw-r--r-- | alacritty/src/window.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/alacritty/src/window.rs b/alacritty/src/window.rs index 28ef4480..1d4ef612 100644 --- a/alacritty/src/window.rs +++ b/alacritty/src/window.rs @@ -15,6 +15,7 @@ use std::convert::From; #[cfg(not(any(target_os = "macos", windows)))] use std::ffi::c_void; use std::fmt; +use std::os::raw::c_ulong; use glutin::dpi::{LogicalPosition, LogicalSize, PhysicalPosition, PhysicalSize}; use glutin::event_loop::EventLoop; @@ -392,7 +393,7 @@ impl Window { } #[cfg(not(any(target_os = "macos", windows)))] -fn x_embed_window(window: &GlutinWindow, parent_id: u64) { +fn x_embed_window(window: &GlutinWindow, parent_id: c_ulong) { let (xlib_display, xlib_window) = match (window.xlib_display(), window.xlib_window()) { (Some(display), Some(window)) => (display, window), _ => return, |