Commit 4f282301 authored by BRAMAS Berenger's avatar BRAMAS Berenger

remove warning

parent 0c6c653f
......@@ -56,7 +56,7 @@ public:
/** Write data by mem cpy */
template <class ClassType>
void write(const ClassType& object){
buffer.memocopy(reinterpret_cast<const char*>(&object), sizeof(ClassType));
buffer.memocopy(reinterpret_cast<const char*>(&object), int(sizeof(ClassType)));
}
/** Write back, position + sizeof(object) has to be < size */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment