prepare 32

This commit is contained in:
rustdesk
2021-08-14 00:45:12 +08:00
parent 44f6233df0
commit d03172e2f3
2 changed files with 8 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ macro_rules! call_vpx {
macro_rules! call_vpx_ptr {
($x:expr) => {{
let result = unsafe { $x }; // original expression
let result_int = unsafe { std::mem::transmute::<_, i64>(result) };
let result_int = unsafe { std::mem::transmute::<_, isize>(result) };
if result_int == 0 {
return Err(Error::BadPtr(format!(
"errcode={} {}:{}:{}:{}",