Skip to content

Commit

Permalink
piv/pcsc_freebsd.go: fix build on 32 bit FreeBSD
Browse files Browse the repository at this point in the history
Fixes	#104
  • Loading branch information
clausecker authored and ericchiang committed Aug 4, 2022
1 parent 9e7225c commit 1902689
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piv/pcsc_freebsd.go
Expand Up @@ -26,5 +26,5 @@ func scCheck(rc C.long) error {
}

func isRCNoReaders(rc C.long) bool {
return rc == 0x8010002E
return uint32(rc) == 0x8010002E
}

0 comments on commit 1902689

Please sign in to comment.