From f60fd25f014e17dca0a0e79907fc5349a9472c07 Mon Sep 17 00:00:00 2001 From: Pavlo Myroniuk Date: Tue, 8 Oct 2024 13:09:18 +0300 Subject: [PATCH] fix(ffi): compilation with `scard` feature on macOS (#301) --- ffi/src/winscard/system_scard/card.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffi/src/winscard/system_scard/card.rs b/ffi/src/winscard/system_scard/card.rs index 0d29e2aa..9399c78d 100644 --- a/ffi/src/winscard/system_scard/card.rs +++ b/ffi/src/winscard/system_scard/card.rs @@ -187,7 +187,7 @@ impl WinScard for SystemScard { readers, #[cfg(not(target_os = "windows"))] state: crate::winscard::pcsc_lite::State::from_bits(state) - .unwrap_or(State::Specific) + .unwrap_or(crate::winscard::pcsc_lite::State::Specific) .into(), #[cfg(target_os = "windows")] state: state.try_into()?,