]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
Unwarningization under Win.
authorageay <ageay>
Fri, 23 Aug 2013 10:55:17 +0000 (10:55 +0000)
committerageay <ageay>
Fri, 23 Aug 2013 10:55:17 +0000 (10:55 +0000)
src/INTERP_KERNEL/Interpolation3D2D.hxx
src/MEDCoupling/MEDCouplingMemArray.cxx

index f75671223c780acb2629288febda703462b4f794..75bebaee84c6649585492218b08ca48175e7b8e8 100644 (file)
@@ -47,10 +47,10 @@ namespace INTERP_KERNEL
     INTERPKERNEL_EXPORT Interpolation3D2D();
     INTERPKERNEL_EXPORT Interpolation3D2D(const InterpolationOptions& io);
     template<class MyMeshType, class MyMatrixType>
-    INTERPKERNEL_EXPORT int interpolateMeshes(const MyMeshType& srcMesh,
-                                              const MyMeshType& targetMesh,
-                                              MyMatrixType& matrix,
-                                              const char *method);
+    int interpolateMeshes(const MyMeshType& srcMesh,
+                          const MyMeshType& targetMesh,
+                          MyMatrixType& matrix,
+                          const char *method);
     INTERPKERNEL_EXPORT DuplicateFacesType retrieveDuplicateFaces() const { return _duplicate_faces; }
   private:
     SplittingPolicy _splitting_policy;
index 7381e9e39374b0527c537de96cf548dad5262cc3..ed5371df95b8e9aa6fb010fd5ceea85a5597c7a8 100644 (file)
@@ -1164,7 +1164,7 @@ void DataArrayDouble::writeVTK(std::ostream& ofs, int indent, const char *nameIn
       float *pt(tmp);
       // to make Visual C++ happy : instead of std::copy(begin(),end(),(float *)tmp);
       for(const double *src=begin();src!=end();src++,pt++)
-        *pt=(int)*src;
+        *pt=int(*src);
       const char *data(reinterpret_cast<const char *>((float *)tmp));
       std::size_t sz(getNbOfElems()*sizeof(float));
       byteArr->insertAtTheEnd(data,data+sz);