diff --git a/piv/pcsc_freebsd.go b/piv/pcsc_freebsd.go index 54e6d13..90350e1 100644 --- a/piv/pcsc_freebsd.go +++ b/piv/pcsc_freebsd.go @@ -26,5 +26,5 @@ func scCheck(rc C.long) error { } func isRCNoReaders(rc C.long) bool { - return rc == 0x8010002E + return uint32(rc) == 0x8010002E }