Fixed build warnings

This commit is contained in:
Esption 2015-05-08 12:31:56 -05:00
parent 0d10dda72a
commit c973a1f83e
10 changed files with 21 additions and 16 deletions

View file

@ -414,7 +414,7 @@ impl Window {
};
// getting the visual infos
let mut visual_infos: ffi::glx::types::XVisualInfo = unsafe {
let visual_infos: ffi::glx::types::XVisualInfo = unsafe {
let vi = glx.GetVisualFromFBConfig(display as *mut _, fb_config);
if vi.is_null() {
return Err(OsError(format!("glx::ChooseVisual failed")));