diff --git a/apps/desktop/desktop_native/win_webauthn/src/plugin/types.rs b/apps/desktop/desktop_native/win_webauthn/src/plugin/types.rs index 0dd5661ee0a..2d954271b93 100644 --- a/apps/desktop/desktop_native/win_webauthn/src/plugin/types.rs +++ b/apps/desktop/desktop_native/win_webauthn/src/plugin/types.rs @@ -1166,6 +1166,7 @@ fn webauthn_free_decoded_get_assertion_request( ) -> ()); // CancelOperation Types +#[repr(C)] pub(super) struct WEBAUTHN_PLUGIN_CANCEL_OPERATION_REQUEST { transactionId: GUID, cbRequestSignature: u32, diff --git a/apps/desktop/desktop_native/win_webauthn/src/types/mod.rs b/apps/desktop/desktop_native/win_webauthn/src/types/mod.rs index 3029bddfa37..8c5bdeab366 100644 --- a/apps/desktop/desktop_native/win_webauthn/src/types/mod.rs +++ b/apps/desktop/desktop_native/win_webauthn/src/types/mod.rs @@ -465,6 +465,7 @@ pub(crate) struct WEBAUTHN_CREDENTIAL_ATTESTATION { pub(crate) pbRegistrationResponseJSON: *const u8, } +#[repr(C)] pub(crate) struct WEBAUTHN_HMAC_SECRET_SALT { /// Size of pbFirst. _cbFirst: u32,