aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTomaka17 <pierre.krieger1708@gmail.com>2014-11-04 14:08:28 +0100
committerTomaka17 <pierre.krieger1708@gmail.com>2014-11-04 14:08:28 +0100
commit4c674ef8437ba921f6e95a882a644bdcb1b8e235 (patch)
tree3aa12e560dd5ebdf849746347d3577283620423e /src
parenta479b2f60c7917a7c7a73b15c22c0b20f54448b7 (diff)
downloadglutin-4c674ef8437ba921f6e95a882a644bdcb1b8e235.tar.gz
glutin-4c674ef8437ba921f6e95a882a644bdcb1b8e235.zip
Fix some warnings in win32 ffi
Diffstat (limited to 'src')
-rw-r--r--src/win32/ffi.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win32/ffi.rs b/src/win32/ffi.rs
index 1d8156d..1920970 100644
--- a/src/win32/ffi.rs
+++ b/src/win32/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)]
use libc;
@@ -147,7 +147,7 @@ pub const CS_SAVEBITS: DWORD = 0x0800;
pub const CS_VREDRAW: DWORD = 0x0001;
// ?
-#[allow(type_overflow)]
+#[allow(overflowing_literals)]
pub const CW_USEDEFAULT: libc::c_int = 0x80000000;
// ?