From: apo Date: Tue, 19 Jun 2007 06:39:40 +0000 (+0000) Subject: To avoid compilation warnings X-Git-Tag: start_BR_MULTIPR_INDUS~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=df0a7447c75f807d895633b56f4773825a8b17af;p=modules%2Fmultipr.git To avoid compilation warnings --- diff --git a/src/MULTIPR/MULTIPR_i.cxx b/src/MULTIPR/MULTIPR_i.cxx index e45c3e7..126f14a 100644 --- a/src/MULTIPR/MULTIPR_i.cxx +++ b/src/MULTIPR/MULTIPR_i.cxx @@ -270,7 +270,7 @@ MULTIPR_ORB::string_array* MULTIPR_Obj_i::getMeshes() std::vector listMeshes = mObj->getMeshes(); mySeq->length(listMeshes.size()); - for (int i = 0 ; i < listMeshes.size() ; i++) + for (size_t i = 0 ; i < listMeshes.size() ; i++) { mySeq[i] = CORBA::string_dup(listMeshes[i].c_str()); } @@ -297,7 +297,7 @@ MULTIPR_ORB::string_array* MULTIPR_Obj_i::getFields() std::vector listFields = mObj->getFields(); mySeq->length(listFields.size()); - for (int i = 0 ; i < listFields.size() ; i++) + for (size_t i = 0 ; i < listFields.size() ; i++) { mySeq[i] = CORBA::string_dup(listFields[i].c_str()); } @@ -341,7 +341,7 @@ MULTIPR_ORB::string_array* MULTIPR_Obj_i::getParts() std::vector listParts = mObj->getParts(); mySeq->length(listParts.size()); - for (int i = 0 ; i < listParts.size() ; i++) + for (size_t i = 0 ; i < listParts.size() ; i++) { mySeq[i] = CORBA::string_dup(listParts[i].c_str()); } @@ -377,7 +377,7 @@ MULTIPR_ORB::string_array* MULTIPR_Obj_i::partitionneDomaine() std::vector listParts = mObj->partitionneDomaine(); mySeq->length(listParts.size()); - for (int i = 0 ; i < listParts.size() ; i++) + for (size_t i = 0 ; i < listParts.size() ; i++) { mySeq[i] = CORBA::string_dup(listParts[i].c_str()); } @@ -411,7 +411,7 @@ MULTIPR_ORB::string_array* MULTIPR_Obj_i::partitionneGrain( mySeq->length(listParts.size()); - for (int i = 0 ; i < listParts.size() ; i++) + for (size_t i = 0 ; i < listParts.size() ; i++) { mySeq[i] = CORBA::string_dup(listParts[i].c_str()); } @@ -454,7 +454,7 @@ MULTIPR_ORB::string_array* MULTIPR_Obj_i::decimePartition( mySeq->length(listParts.size()); - for (int i = 0 ; i < listParts.size() ; i++) + for (size_t i = 0 ; i < listParts.size() ; i++) { mySeq[i] = CORBA::string_dup(listParts[i].c_str()); }