mirror of
https://github.com/bitwarden/browser
synced 2026-01-30 16:23:53 +00:00
Use extern C instead of cdecl
This commit is contained in:
@@ -23,7 +23,7 @@ macro_rules! webauthn_call {
|
||||
),
|
||||
)?;
|
||||
|
||||
let function: unsafe extern "cdecl" fn(
|
||||
let function: unsafe extern "C" fn(
|
||||
$($arg: $arg_type),*
|
||||
) -> $result_type = std::mem::transmute_copy(&address);
|
||||
function($($arg),*)
|
||||
|
||||
Reference in New Issue
Block a user