From c89a3713cbf2928c0677218359b766f2f661fa72 Mon Sep 17 00:00:00 2001 From: Robert Clausecker Date: Thu, 4 Aug 2022 21:11:06 +0200 Subject: [PATCH] piv/pcsc_freebsd.go: fix build on 32 bit FreeBSD Fixes #104 --- piv/pcsc_freebsd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }