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

@@ -22,7 +22,7 @@ unsafe fn get_string(
) -> *mut libc::c_char {
let mut ret: *mut libc::c_char = 0 as *mut libc::c_char;
if !context.is_null() {
ret = (*context).cb.expect("non-null function pointer")(
ret = ((*context).cb)(
context,
Event::GET_STRING,
id as uintptr_t,