diff options
author | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-09-23 08:01:18 +0200 |
---|---|---|
committer | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-09-23 08:01:18 +0200 |
commit | ea957ce1d77756eec0025f5f8d582e7daf350343 (patch) | |
tree | 17dbad3afbcce474d2382e10ef4d3a73738a8cf7 /src/x11/ffi.rs | |
parent | 07734275139d2e2abd0b800f9fd53871ffa88ceb (diff) | |
download | glutin-ea957ce1d77756eec0025f5f8d582e7daf350343.tar.gz glutin-ea957ce1d77756eec0025f5f8d582e7daf350343.zip |
Fix compilation warnings
Diffstat (limited to 'src/x11/ffi.rs')
-rw-r--r-- | src/x11/ffi.rs | 4 |
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 = (); |