Skip to content

Commit

Permalink
fix(ffi): compilation with scard feature on macOS (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBestTvarynka authored Oct 8, 2024
1 parent dc61d98 commit f60fd25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ffi/src/winscard/system_scard/card.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()?,
Expand Down

0 comments on commit f60fd25

Please sign in to comment.