mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-07 18:30:55 +03:00
0025849: Warnings on OCCT and PRODUCTS in 64-bit
Fix warnings.
This commit is contained in:
parent
e94f2bfb11
commit
50f32555af
@ -62,7 +62,7 @@ IVtk_ShapeIdList IVtkOCC_Shape::GetSubIds (const IVtk_IdType theId) const
|
|||||||
{
|
{
|
||||||
IVtk_ShapeIdList aRes;
|
IVtk_ShapeIdList aRes;
|
||||||
// Get the sub-shape by the given id.
|
// 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();
|
TopAbs_ShapeEnum aShapeType = aShape.ShapeType();
|
||||||
if (aShapeType == TopAbs_VERTEX || aShapeType == TopAbs_EDGE ||
|
if (aShapeType == TopAbs_VERTEX || aShapeType == TopAbs_EDGE ||
|
||||||
aShapeType == TopAbs_FACE)
|
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
|
const TopoDS_Shape& IVtkOCC_Shape::GetSubShape (const IVtk_IdType theId) const
|
||||||
{
|
{
|
||||||
return mySubShapeIds.FindKey (theId);
|
return mySubShapeIds.FindKey ((Standard_Integer) theId);
|
||||||
}
|
}
|
||||||
|
|
||||||
//============================================================================
|
//============================================================================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user