OSDN Git Service

add none terminate IK tail.
[meshio/meshio.git] / src / binary.cpp
index 08bc752..198121a 100644 (file)
@@ -129,7 +129,7 @@ FileWriter::~FileWriter()
        fclose(io_);
 }
 
-void FileWriter::write(char *buf, unsigned int size)
+void FileWriter::write(const char *buf, unsigned int size)
 {
        fwrite(buf, size, 1, io_);
 }