X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=src%2Fbinary.cpp;h=198121ae60070a66bd39158d6689fb1968b75699;hb=eed9d1860bf9cc8f43a9db3be4b496748c508cc5;hp=08bc752be99a262c15f727773a64888c22ca2c88;hpb=1ca323cf3d3caa38587749aeabf8f6a31482810a;p=meshio%2Fmeshio.git diff --git a/src/binary.cpp b/src/binary.cpp index 08bc752..198121a 100644 --- a/src/binary.cpp +++ b/src/binary.cpp @@ -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_); }