]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESH_I/SMESH_MeshEditor_i.cxx
Salome HOME
fix after review. Build completed
[modules/smesh.git] / src / SMESH_I / SMESH_MeshEditor_i.cxx
index d542d9c85ac4e29210a0f39c945615b3daea1db1..217dc5b3f25b256cab50de37447e7d8c0ac837d2 100644 (file)
@@ -1190,7 +1190,7 @@ CORBA::Long SMESH_MeshEditor_i::AddPolyhedralVolume (const SMESH::long_array & I
     }
 
   int NbFaces = Quantities.length();
-  std::vector<int> q (NbFaces);
+  std::vector<smIdType> q (NbFaces);
   for (int j = 0; j < NbFaces; j++)
     q[j] = Quantities[j];
 
@@ -1220,7 +1220,7 @@ CORBA::Long SMESH_MeshEditor_i::AddPolyhedralVolumeByFaces (const SMESH::long_ar
 
   int NbFaces = IdsOfFaces.length();
   std::vector<const SMDS_MeshNode*> poly_nodes;
-  std::vector<int> quantities (NbFaces);
+  std::vector<smIdType> quantities (NbFaces);
 
   for (int i = 0; i < NbFaces; i++) {
     const SMDS_MeshElement* aFace = getMeshDS()->FindElement(IdsOfFaces[i]);