We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74bb014 commit 97340feCopy full SHA for 97340fe
1 file changed
sugarloaf/src/font/linux.rs
@@ -200,7 +200,7 @@ unsafe fn pattern_path_and_index(pattern: *mut fc::FcPattern) -> Option<(PathBuf
200
if res != fc::FcResultMatch || file_ptr.is_null() {
201
return None;
202
}
203
- let path_str = CStr::from_ptr(file_ptr as *const i8)
+ let path_str = CStr::from_ptr(file_ptr as *const std::ffi::c_char)
204
.to_str()
205
.ok()?
206
.to_string();
0 commit comments