We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 647c411 commit cd527bfCopy full SHA for cd527bf
harfbuzz/src/unicode_funcs.rs
@@ -138,7 +138,7 @@ impl UnicodeFuncsBuilder {
138
user_data: *mut c_void,
139
) -> hb_codepoint_t {
140
let code = unsafe { &*(user_data as *mut F) }.script(hb_codepoint_t_to_char(unicode));
141
- unsafe { hb_script_from_string(code.as_ptr() as *const i8, 4) }
+ unsafe { hb_script_from_string(code.as_ptr() as *const core::ffi::c_char, 4) }
142
}
143
extern "C" fn destroy_script<F>(user_data: *mut c_void) {
144
let _ = unsafe { Box::from_raw(user_data as *mut F) };
0 commit comments