From: atychini Date: Sun, 26 Jun 2022 17:03:59 +0000 (+0300) Subject: 0033029: Warning on Windows 32 and 64 with VC14 after the integration of ticket 32821 X-Git-Tag: V7_7_0_beta~68 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=aaa03c1efb04904bf1dfc0491c1ee09cf75d6a94;p=occt.git 0033029: Warning on Windows 32 and 64 with VC14 after the integration of ticket 32821 Warning has been fixed by adding condition. --- diff --git a/src/IGESCAFControl/IGESCAFControl_Provider.cxx b/src/IGESCAFControl/IGESCAFControl_Provider.cxx index dd184faec6..fa8084ace0 100644 --- a/src/IGESCAFControl/IGESCAFControl_Provider.cxx +++ b/src/IGESCAFControl/IGESCAFControl_Provider.cxx @@ -63,7 +63,7 @@ void IGESCAFControl_Provider::initStatic(const Handle(DE_ConfigurationNode)& the myOldValues.ReadApproxd1 = Interface_Static::IVal("read.iges.bspline.approxd1.mode") == 1; myOldValues.ReadResourceName = Interface_Static::CVal("read.iges.resource.name"); myOldValues.ReadSequence = Interface_Static::CVal("read.iges.sequence"); - myOldValues.ReadFaultyEntities = Interface_Static::IVal("read.iges.faulty.entities"); + myOldValues.ReadFaultyEntities = Interface_Static::IVal("read.iges.faulty.entities") == 1; myOldValues.ReadOnlyVisible = Interface_Static::IVal("read.iges.onlyvisible") == 1; myOldValues.WriteBRepMode = (IGESCAFControl_ConfigurationNode::WriteMode_BRep)Interface_Static::IVal("write.iges.brep.mode");