Skip to content

Commit 728694d

Browse files
committed
Merge pull request #863 from petevine/patch-1
Additional ARM fix
2 parents 8b28891 + 13de074 commit 728694d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/gl/src/info.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ fn get_usize(gl: &gl::Gl, name: gl::types::GLenum) -> usize {
136136
}
137137

138138
unsafe fn c_str_as_static_str(c_str: *const i8) -> &'static str {
139-
mem::transmute(str::from_utf8(ffi::CStr::from_ptr(c_str).to_bytes()).unwrap())
139+
mem::transmute(str::from_utf8(ffi::CStr::from_ptr(c_str as *const _).to_bytes()).unwrap())
140140
}
141141

142142
/// A unique platform identifier that does not change between releases

0 commit comments

Comments
 (0)