From: eap Date: Wed, 17 Mar 2021 15:50:20 +0000 (+0300) Subject: bos #20256: [CEA 18523] Porting SMESH to int 64 bits X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fe6da38004b67e4916d36e060eb0d0e3a8da3aa8;p=plugins%2Fhexablockplugin.git bos #20256: [CEA 18523] Porting SMESH to int 64 bits --- diff --git a/src/HEXABLOCKPlugin/HEXABLOCKPlugin_FromSkin_3D.cxx b/src/HEXABLOCKPlugin/HEXABLOCKPlugin_FromSkin_3D.cxx index 6c06915..f2ea3dc 100644 --- a/src/HEXABLOCKPlugin/HEXABLOCKPlugin_FromSkin_3D.cxx +++ b/src/HEXABLOCKPlugin/HEXABLOCKPlugin_FromSkin_3D.cxx @@ -409,7 +409,7 @@ namespace // Find all block sides starting from mesh faces sharing the corner node // -------------------------------------------------------------------- - int nbFacesOnSides = 0; + smIdType nbFacesOnSides = 0; TIDSortedElemSet cornerFaces; // corner faces of found _BlockSide's std::list< const SMDS_MeshNode* > corners( 1, nCorner ); std::list< const SMDS_MeshNode* >::iterator corner = corners.begin(); @@ -1526,7 +1526,7 @@ bool SMESH_HexaFromSkin_3D::Evaluate(SMESH_Mesh & aMesh, bool secondOrder = aMesh.NbFaces( ORDER_QUADRATIC ); int entity = secondOrder ? SMDSEntity_Quad_Hexa : SMDSEntity_Hexa; - std::vector& nbByType = aResMap[ aMesh.GetSubMesh( aShape )]; + std::vector& nbByType = aResMap[ aMesh.GetSubMesh( aShape )]; if ( entity >= nbByType.size() ) nbByType.resize( SMDSEntity_Last, 0 );