https://github.com/cyberb/gemalto File SmartCardServices/src/PKCS11dotNetV2/SmartCardReader.cpp @@ -150,7 +150,7 @@ bool SmartCardReader::isVerifyPinSecured( void ) { } } } } - return m_bIsSecuredVerifyPIN; + return bool(m_bIsSecuredVerifyPIN); } }