diff options
author | Pierre Krieger <pierre.krieger1708@gmail.com> | 2014-07-31 17:25:56 +0200 |
---|---|---|
committer | Pierre Krieger <pierre.krieger1708@gmail.com> | 2014-07-31 17:25:56 +0200 |
commit | 0d45c7fcb491fc9d39b3b3ddd586741c277fcced (patch) | |
tree | 6fda99da4393d39b4e8e63893c282e664cfb7f37 | |
parent | 0c76ff877106dd71972b8e0c47a0a8ba2e5e7099 (diff) | |
download | glutin-0d45c7fcb491fc9d39b3b3ddd586741c277fcced.tar.gz glutin-0d45c7fcb491fc9d39b3b3ddd586741c277fcced.zip |
Fix warning in X11 ffi
-rw-r--r-- | src/x11/ffi.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/x11/ffi.rs b/src/x11/ffi.rs index aa7ed4f..f73d408 100644 --- a/src/x11/ffi.rs +++ b/src/x11/ffi.rs @@ -159,6 +159,7 @@ pub static GLX_TRANSPARENT_RED_VALUE: libc::c_int = 0x25; pub static GLX_TRANSPARENT_GREEN_VALUE: libc::c_int = 0x26; pub static GLX_TRANSPARENT_BLUE_VALUE: libc::c_int = 0x27; pub static GLX_TRANSPARENT_ALPHA_VALUE: libc::c_int = 0x28; +#[allow(type_overflow)] pub static GLX_DONT_CARE: libc::c_int = 0xFFFFFFFF; pub static GLX_NONE: libc::c_int = 0x8000; pub static GLX_SLOW_CONFIG: libc::c_int = 0x8001; |