From: ageay Date: Tue, 24 Jan 2012 14:48:15 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V6_main_FINAL~904 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=816d758686b5db9b109bb86d9f715f0b313cc464;p=tools%2Fmedcoupling.git *** empty log message *** --- diff --git a/src/MEDCoupling/MEDCouplingFieldDouble.cxx b/src/MEDCoupling/MEDCouplingFieldDouble.cxx index 2d74cf60c..b7987a347 100644 --- a/src/MEDCoupling/MEDCouplingFieldDouble.cxx +++ b/src/MEDCoupling/MEDCouplingFieldDouble.cxx @@ -1104,7 +1104,7 @@ void MEDCouplingFieldDouble::getTinySerializationDbleInformation(std::vector tinyInfo2; _type->getTinySerializationDbleInformation(tinyInfo2); tinyInfo.insert(tinyInfo.end(),tinyInfo2.begin(),tinyInfo2.end()); - tinyInfo.push_back((int)tinyInfo2.size()); + tinyInfo.push_back((int)tinyInfo2.size());//very bad, lack of time to improve it } /*! @@ -1132,7 +1132,7 @@ void MEDCouplingFieldDouble::finishUnserialization(const std::vector& tinyI std::vector tinyInfoI2(tinyInfoI.begin()+3,tinyInfoI.end()); // std::vector tmp(tinyInfoD); - int sz=tinyInfoD.back(); + int sz=(int)tinyInfoD.back();//very bad, lack of time to improve it tmp.pop_back(); std::vector tmp1(tmp.begin(),tmp.end()-sz); std::vector tmp2(tmp.end()-sz,tmp.end());