mirror of
https://github.com/chatmail/core.git
synced 2026-04-26 01:46:34 +03:00
fix: compiles on android 32bit
This commit is contained in:
@@ -253,7 +253,7 @@ pub unsafe fn dc_get_oauth2_access_token(
|
||||
b"$REFRESH_TOKEN\x00" as *const u8 as *const libc::c_char,
|
||||
refresh_token,
|
||||
);
|
||||
json = (*context).cb.expect("non-null function pointer")(
|
||||
json = ((*context).cb)(
|
||||
context,
|
||||
Event::HTTP_POST,
|
||||
token_url as uintptr_t,
|
||||
@@ -554,7 +554,7 @@ unsafe fn get_oauth2_addr(
|
||||
b"$ACCESS_TOKEN\x00" as *const u8 as *const libc::c_char,
|
||||
access_token,
|
||||
);
|
||||
json = (*context).cb.expect("non-null function pointer")(
|
||||
json = ((*context).cb)(
|
||||
context,
|
||||
Event::HTTP_GET,
|
||||
userinfo_url as uintptr_t,
|
||||
|
||||
Reference in New Issue
Block a user