fix: compiles on android 32bit

This commit is contained in:
dignifiedquire
2019-04-28 17:54:23 +03:00
parent b3041c0c5c
commit aa32c53a43
24 changed files with 198 additions and 399 deletions

View File

@@ -48,12 +48,7 @@ unsafe fn log_vprintf(
event as libc::c_int,
)
}
(*context).cb.expect("non-null function pointer")(
context,
event,
data1 as uintptr_t,
msg as uintptr_t,
);
((*context).cb)(context, event, data1 as uintptr_t, msg as uintptr_t);
free(msg as *mut libc::c_void);
}
pub unsafe extern "C" fn dc_log_event_seq(