From: ageay Date: Fri, 23 Aug 2013 15:30:00 +0000 (+0000) Subject: Unwarningization under Win. X-Git-Tag: V7_3_1b1~160 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5a8157e5b775f7ba2d3ce25162dd0b3320b8546f;p=tools%2Fmedcoupling.git Unwarningization under Win. --- diff --git a/src/MEDLoader/MEDFileFieldOverView.cxx b/src/MEDLoader/MEDFileFieldOverView.cxx index fe76f9d36..e437d57fa 100644 --- a/src/MEDLoader/MEDFileFieldOverView.cxx +++ b/src/MEDLoader/MEDFileFieldOverView.cxx @@ -99,7 +99,7 @@ int MEDFileMeshStruct::getNumberOfLevs() const int MEDFileMeshStruct::getNumberOfGeoTypesInLev(int relativeLev) const { int pos(-relativeLev); - if(pos<0 || pos>=_geo_types_distrib.size()) + if(pos<0 || pos>=(int)_geo_types_distrib.size()) throw INTERP_KERNEL::Exception("MEDFileMeshStruct::getNumberOfGeoTypesInLev : invalid level specified !"); std::size_t sz=_geo_types_distrib[pos].size(); if(sz%3!=0) @@ -209,7 +209,7 @@ DataArray *MEDMeshMultiLev::buildDataArray(const MEDFileField1TSStructItem& fst, std::string MEDMeshMultiLev::getPflNameOfId(int id) const { std::size_t sz(_pfls.size()); - if(id<0 || id>=sz) + if(id<0 || id>=(int)sz) throw INTERP_KERNEL::Exception("MEDMeshMultiLev::getPflNameOfId : invalid input id !"); const DataArrayInt *pfl(_pfls[id]); if(!pfl) diff --git a/src/MEDLoader/SauvMedConvertor.hxx b/src/MEDLoader/SauvMedConvertor.hxx index 6366a93e8..f35f48bb4 100644 --- a/src/MEDLoader/SauvMedConvertor.hxx +++ b/src/MEDLoader/SauvMedConvertor.hxx @@ -47,7 +47,7 @@ namespace ParaMEDMEM namespace SauvUtilities { - class IntermediateMED; + struct IntermediateMED; // ============================================================================== typedef int TID; // an ID countered from 1 diff --git a/src/MEDLoader/SauvReader.hxx b/src/MEDLoader/SauvReader.hxx index c33b3f4f7..abf232a05 100644 --- a/src/MEDLoader/SauvReader.hxx +++ b/src/MEDLoader/SauvReader.hxx @@ -35,9 +35,9 @@ namespace SauvUtilities { class FileReader; - class IntermediateMED; - class Group; - class DoubleField; + struct IntermediateMED; + struct Group; + struct DoubleField; } namespace ParaMEDMEM {