From 816d758686b5db9b109bb86d9f715f0b313cc464 Mon Sep 17 00:00:00 2001 From: ageay Date: Tue, 24 Jan 2012 14:48:15 +0000 Subject: [PATCH] *** empty log message *** --- src/MEDCoupling/MEDCouplingFieldDouble.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); -- 2.39.2