aboutsummaryrefslogtreecommitdiffstats
path: root/src/x11/ffi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11/ffi.rs')
-rw-r--r--src/x11/ffi.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/x11/ffi.rs b/src/x11/ffi.rs
index fe91033..8ab6f45 100644
--- a/src/x11/ffi.rs
+++ b/src/x11/ffi.rs
@@ -1,5 +1,5 @@
#![allow(dead_code)]
-#![allow(non_snake_case_functions)]
+#![allow(non_snake_case)]
#![allow(non_camel_case_types)]
use libc;
@@ -27,7 +27,7 @@ pub type VisualID = libc::c_ulong; // TODO: not sure
pub type Window = XID;
pub type XrmDatabase = *const (); // TODO: not sure
pub type XIC = *mut ();
-pub type XID = uint;
+pub type XID = libc::uintptr_t;
pub type XIM = *mut ();
pub type Screen = ();