]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
MEDCOUPLING : cast long to int for assert (Test_Gauthier1)
authoruhz <ulysse.humbert-gonzalez@opencascade.com>
Thu, 13 Jul 2017 09:28:18 +0000 (11:28 +0200)
committeruhz <ulysse.humbert-gonzalez@opencascade.com>
Thu, 13 Jul 2017 09:28:18 +0000 (11:28 +0200)
src/ParaMEDMEMTest/ParaMEDMEMTest_Gauthier1.cxx

index 080640e17a75e641e09e585ba9e9cfcf2274d260..587a73a97baa7a761a96aacc551ae38f826676ac 100644 (file)
@@ -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;ele<valsOfField->getNumberOfTuples();ele++)
     CPPUNIT_ASSERT_DOUBLES_EQUAL(vals[ele],valsOfField->getIJ(ele,0),1e-12);
 }