Commit 29735a45 authored by berenger-bramas's avatar berenger-bramas

Remove a cast warning in buffer writer

git-svn-id: svn+ssh:// 2616d619-271b-44dc-8df4-d4a8f33a7222
parent 1abdd49f
......@@ -63,7 +63,7 @@ public:
/** Write an array */
template <class ClassType>
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 */
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment