]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Unwarningization under Win.
authorageay <ageay>
Fri, 23 Aug 2013 06:06:31 +0000 (06:06 +0000)
committerageay <ageay>
Fri, 23 Aug 2013 06:06:31 +0000 (06:06 +0000)
src/MEDCoupling/MEDCouplingMemArray.cxx

index fbbd66c7565a0796520a35fde4b55b717e56d07e..214bf204b5bc1a45f3f01e2fb0836efcb5869b05 100644 (file)
@@ -9063,7 +9063,7 @@ void DataArrayInt::applyPow(int val) throw(INTERP_KERNEL::Exception)
   std::size_t nbOfElems=getNbOfElems();
   if(val==0)
     {
-      std::fill(ptr,ptr+nbOfElems,1.);
+      std::fill(ptr,ptr+nbOfElems,1);
       return ;
     }
   for(std::size_t i=0;i<nbOfElems;i++,ptr++)