From df0a7447c75f807d895633b56f4773825a8b17af Mon Sep 17 00:00:00 2001 From: apo Date: Tue, 19 Jun 2007 06:39:40 +0000 Subject: [PATCH] To avoid compilation warnings --- src/MULTIPR/MULTIPR_i.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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()); } -- 2.39.2