From f8fd37beefca2fc54b349c6beb536716ae0a541a Mon Sep 17 00:00:00 2001 From: uhz Date: Thu, 13 Jul 2017 11:28:18 +0200 Subject: [PATCH] MEDCOUPLING : cast long to int for assert (Test_Gauthier1) --- src/ParaMEDMEMTest/ParaMEDMEMTest_Gauthier1.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.2