Skip to content

Commit 1902689

Browse files
clauseckerericchiang
authored andcommitted
piv/pcsc_freebsd.go: fix build on 32 bit FreeBSD
Fixes #104
1 parent 9e7225c commit 1902689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

piv/pcsc_freebsd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ func scCheck(rc C.long) error {
2626
}
2727

2828
func isRCNoReaders(rc C.long) bool {
29-
return rc == 0x8010002E
29+
return uint32(rc) == 0x8010002E
3030
}

0 commit comments

Comments
 (0)