1
0
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:
Isaiah Inuwa
2025-12-18 09:55:48 -06:00
parent 1a9596244a
commit 2abbd8faeb

View File

@@ -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),*)