aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrendan Zabarauskas <bjzaba@yahoo.com.au>2014-11-24 10:05:36 +1100
committerBrendan Zabarauskas <bjzaba@yahoo.com.au>2014-11-24 10:05:36 +1100
commit9668878f266dc23f8be353d804f7c99fb96767ac (patch)
tree8dcbbe393387cb6f53558786924aea1a8313a186 /src
parent27621429608f6173954348c7e4d259ade169cc07 (diff)
parent583506dca04195c444b2e28d69d2eb57b4468d9d (diff)
downloadglutin-9668878f266dc23f8be353d804f7c99fb96767ac.tar.gz
glutin-9668878f266dc23f8be353d804f7c99fb96767ac.zip
Merge pull request #132 from glennw/x11-warnings
Fix some rustc warnings
Diffstat (limited to 'src')
-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 b7e7379..3fe6499 100644
--- a/src/x11/ffi.rs
+++ b/src/x11/ffi.rs
@@ -1,7 +1,7 @@
#![allow(dead_code)]
#![allow(non_snake_case)]
#![allow(non_camel_case_types)]
-#![allow(non_uppercase_statics)]
+#![allow(non_upper_case_globals)]
pub use self::glx::types::*;
use libc;
@@ -181,7 +181,7 @@ pub const GLX_TRANSPARENT_RED_VALUE: libc::c_int = 0x25;
pub const GLX_TRANSPARENT_GREEN_VALUE: libc::c_int = 0x26;
pub const GLX_TRANSPARENT_BLUE_VALUE: libc::c_int = 0x27;
pub const GLX_TRANSPARENT_ALPHA_VALUE: libc::c_int = 0x28;
-#[allow(type_overflow)]
+#[allow(overflowing_literals)]
pub const GLX_DONT_CARE: libc::c_int = 0xFFFFFFFF;
pub const GLX_NONE: libc::c_int = 0x8000;
pub const GLX_SLOW_CONFIG: libc::c_int = 0x8001;