0027241: Create a complete test case to verify reading of all attribute types from...
[occt.git] / src / StdObject / StdObject_Shape.cxx
index e8c85f9..dad07af 100644 (file)
@@ -27,7 +27,7 @@ TopoDS_Shape StdObject_Shape::Import() const
     aShape.TShape (myTShape->Import());
 
   aShape.Location (myLocation.Import());
-  aShape.Orientation (myOrient);
+  aShape.Orientation (static_cast<TopAbs_Orientation> (myOrient));
 
   return aShape;
 }