Fix compilation warnings

This commit is contained in:
Tomaka17 2014-09-23 08:01:18 +02:00
parent 0773427513
commit ea957ce1d7
4 changed files with 10 additions and 10 deletions

View file

@ -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 = ();