Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 29735a45 authored by berenger-bramas's avatar berenger-bramas
Browse files

Remove a cast warning in buffer writer

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@420 2616d619-271b-44dc-8df4-d4a8f33a7222
parent 1abdd49f
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,7 @@ public: ...@@ -63,7 +63,7 @@ public:
/** Write an array */ /** Write an array */
template <class ClassType> template <class ClassType>
void write(const ClassType* const objects, const int inSize){ void write(const ClassType* const objects, const int inSize){
buffer.memocopy(reinterpret_cast<const char*>(objects), sizeof(ClassType) * inSize); buffer.memocopy(reinterpret_cast<const char*>(objects), int(sizeof(ClassType)) * inSize);
} }
/** Equivalent to write */ /** Equivalent to write */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment