fix compilation trouble on g++ and clang 59/12259/1
Antoine ELIAS [Mon, 12 Aug 2013 12:30:17 +0000 (14:30 +0200)]
Change-Id: I532842c72e99f64430b888e2a76ca10cbfe5d4d1

scilab/modules/hdf5/src/cpp/H5DataConverter.hxx

index f0a29a8..b6ca151 100644 (file)
@@ -107,7 +107,7 @@ public:
             {
                 totalSize *= dims[i];
             }
-            memcpy(static_cast<void *>(dest), static_cast<const void *>(src), totalSize * sizeof(T));
+            memcpy(dest, src, totalSize * sizeof(T));
         }
         else
         {