cast OpcUa_Boolean because MSVC keeps complaining about 'unsafe mix of type OpcUa_Boolean and type bool in operation'