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-Tag: V9_7_0a1^0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d8a1a44f863ce4792cf016168f43856abba2d360;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 fb0bbbf..2814f2c 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 );