mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
fix cast to libc::c_char, signed i8 fails eg. on android
This commit is contained in:
committed by
holger krekel
parent
e2a86dd803
commit
966b9fac49
@@ -54,7 +54,7 @@ pub fn parse_message_id(message_id: &[u8]) -> Result<String, Error> {
|
||||
let mut rfc724_mid_c = std::ptr::null_mut();
|
||||
if unsafe {
|
||||
mailimf_msg_id_parse(
|
||||
message_id.as_ptr() as *const i8,
|
||||
message_id.as_ptr() as *const libc::c_char,
|
||||
message_id.len(),
|
||||
&mut dummy,
|
||||
&mut rfc724_mid_c,
|
||||
|
||||
Reference in New Issue
Block a user