diff --git a/src/SMESH/SMESH_Octree.cxx b/src/SMESH/SMESH_Octree.cxx index 5b224ae5d..eb8a7ec82 100644 --- a/src/SMESH/SMESH_Octree.cxx +++ b/src/SMESH/SMESH_Octree.cxx @@ -135,7 +135,7 @@ void SMESH_Octree::Compute() //================================================================= void SMESH_Octree::buildChildren() { - myChildren = new (SMESH_Octree*)[8]; + myChildren = new SMESH_Octree*[8]; gp_XYZ min = myBox->CornerMin(); gp_XYZ max = myBox->CornerMax();