]> SALOME platform Git repositories - plugins/gmshplugin.git/commitdiff
Salome HOME
fix for 64bit mode vuzlov/20256
authorViktor UZLOV <vuzlov@debian10-01.nnov.opencascade.com>
Thu, 25 Feb 2021 07:24:03 +0000 (10:24 +0300)
committerViktor UZLOV <vuzlov@debian10-01.nnov.opencascade.com>
Thu, 25 Feb 2021 07:24:03 +0000 (10:24 +0300)
src/GMSHPlugin/GMSHPlugin_GMSH.cxx
src/GMSHPlugin/GMSHPlugin_GMSH_2D.cxx

index 8a93372654ec69da486f2b9979b54649588c559e..1696672a6b8f30c1d06396fe86e78f8411d2c71b 100644 (file)
@@ -132,7 +132,7 @@ bool GMSHPlugin_GMSH::Evaluate(SMESH_Mesh&         aMesh,
                                         MapShapeNbElems& aResMap)
 {
   std::vector<smIdType> aResVec(SMDSEntity_Last);
-  for(int i=SMDSEntity_Node; i<SMDSEntity_Last; i++) aResVec[i] = 0;
+  for(smIdType i=SMDSEntity_Node; i<SMDSEntity_Last; i++) aResVec[i] = 0;
   SMESH_subMesh * sm = aMesh.GetSubMesh(aShape);
   aResMap.insert(std::make_pair(sm,aResVec));
   SMESH_ComputeErrorPtr& smError = sm->GetComputeError();
index 965143c60a3c7dc4dcce786805715a06d96b2f57..c1fa79bb29265796cd230c93d47ae8c6b002c4d3 100644 (file)
@@ -132,7 +132,7 @@ bool GMSHPlugin_GMSH_2D::Evaluate(SMESH_Mesh&         aMesh,
                                         MapShapeNbElems& aResMap)
 {
   std::vector<smIdType> aResVec(SMDSEntity_Last);
-  for(int i=SMDSEntity_Node; i<SMDSEntity_Last; i++) aResVec[i] = 0;
+  for(smIdType i=SMDSEntity_Node; i<SMDSEntity_Last; i++) aResVec[i] = 0;
   SMESH_subMesh * sm = aMesh.GetSubMesh(aShape);
   aResMap.insert(std::make_pair(sm,aResVec));
   SMESH_ComputeErrorPtr& smError = sm->GetComputeError();