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_terminal | |
parent | a75e9493449d90b54a140b76f6a96b684784a059 (diff) | |
download | alacritty-8a263414572d8ed4d771461de2fdbd9f7e549a75.tar.gz alacritty-8a263414572d8ed4d771461de2fdbd9f7e549a75.zip |
Fix XEmbed compilation error on 32-bit platforms
Diffstat (limited to 'alacritty_terminal')
-rw-r--r-- | alacritty_terminal/src/config/window.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/alacritty_terminal/src/config/window.rs b/alacritty_terminal/src/config/window.rs index 3c06f85e..9b86ba8a 100644 --- a/alacritty_terminal/src/config/window.rs +++ b/alacritty_terminal/src/config/window.rs @@ -1,3 +1,5 @@ +use std::os::raw::c_ulong; + use serde::Deserialize; use crate::config::{ @@ -45,7 +47,7 @@ pub struct WindowConfig { /// XEmbed parent #[serde(skip)] - pub embed: Option<u64>, + pub embed: Option<c_ulong>, /// GTK theme variant #[serde(deserialize_with = "option_explicit_none")] |