0027241: Create a complete test case to verify reading of all attribute types from...
[occt.git] / src / StdPersistent / StdPersistent_DataXtd_Constraint.cxx
index e5437ed..d158aff 100644 (file)
@@ -24,7 +24,7 @@
 void StdPersistent_DataXtd_Constraint::Import
   (const Handle(TDataXtd_Constraint)& theAttribute) const
 {
-  theAttribute->SetType  (myType);
+  theAttribute->SetType  (static_cast<TDataXtd_ConstraintEnum> (myType));
   theAttribute->Reversed (myIsReversed);
   theAttribute->Inverted (myIsInverted);
   theAttribute->Verified (myIsVerified);