From: uhz Date: Thu, 13 Jul 2017 09:28:18 +0000 (+0200) Subject: MEDCOUPLING : cast long to int for assert (Test_Gauthier1) X-Git-Tag: V8_4_0a1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f8fd37beefca2fc54b349c6beb536716ae0a541a;p=tools%2Fmedcoupling.git MEDCOUPLING : cast long to int for assert (Test_Gauthier1) --- diff --git a/src/ParaMEDMEMTest/ParaMEDMEMTest_Gauthier1.cxx b/src/ParaMEDMEMTest/ParaMEDMEMTest_Gauthier1.cxx index 080640e17..587a73a97 100644 --- a/src/ParaMEDMEMTest/ParaMEDMEMTest_Gauthier1.cxx +++ b/src/ParaMEDMEMTest/ParaMEDMEMTest_Gauthier1.cxx @@ -46,7 +46,7 @@ using namespace ICoCo; void afficheGauthier1(const ParaFIELD& field, const double *vals, int lgth) { const DataArrayDouble *valsOfField(field.getField()->getArray()); - CPPUNIT_ASSERT_EQUAL(lgth,valsOfField->getNumberOfTuples()); + CPPUNIT_ASSERT_EQUAL(lgth,(int)valsOfField->getNumberOfTuples()); for (int ele=0;elegetNumberOfTuples();ele++) CPPUNIT_ASSERT_DOUBLES_EQUAL(vals[ele],valsOfField->getIJ(ele,0),1e-12); }