From: apn Date: Fri, 20 Feb 2015 15:30:35 +0000 (+0300) Subject: 0025849: Warnings on OCCT and PRODUCTS in 64-bit X-Git-Tag: V6_9_0_beta~69 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=50f32555afb8ffb098678d8ee653e9d2b0cb7a84;p=occt-copy.git 0025849: Warnings on OCCT and PRODUCTS in 64-bit Fix warnings. --- diff --git a/src/IVtkOCC/IVtkOCC_Shape.cxx b/src/IVtkOCC/IVtkOCC_Shape.cxx index 229091036b..f2c7c38790 100644 --- a/src/IVtkOCC/IVtkOCC_Shape.cxx +++ b/src/IVtkOCC/IVtkOCC_Shape.cxx @@ -62,7 +62,7 @@ IVtk_ShapeIdList IVtkOCC_Shape::GetSubIds (const IVtk_IdType theId) const { IVtk_ShapeIdList aRes; // Get the sub-shape by the given id. - TopoDS_Shape aShape = mySubShapeIds.FindKey (theId); + TopoDS_Shape aShape = mySubShapeIds.FindKey ((Standard_Integer) theId); TopAbs_ShapeEnum aShapeType = aShape.ShapeType(); if (aShapeType == TopAbs_VERTEX || aShapeType == TopAbs_EDGE || aShapeType == TopAbs_FACE) @@ -106,7 +106,7 @@ IVtk_ShapeIdList IVtkOCC_Shape::GetSubIds (const IVtk_IdType theId) const //============================================================================ const TopoDS_Shape& IVtkOCC_Shape::GetSubShape (const IVtk_IdType theId) const { - return mySubShapeIds.FindKey (theId); + return mySubShapeIds.FindKey ((Standard_Integer) theId); } //============================================================================