diff options
Diffstat (limited to 'src/fs/files.cpp')
-rw-r--r-- | src/fs/files.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/files.cpp b/src/fs/files.cpp index fa9fe2de3..dbbf248d2 100644 --- a/src/fs/files.cpp +++ b/src/fs/files.cpp @@ -91,7 +91,7 @@ void Files::copyVirtFsFile(const std::string &restrict inFile, const std::string &restrict outFile) { int size = 0; - char *const buf = VirtFs::loadFile(inFile, size); + const char *const buf = VirtFs::loadFile(inFile, size); FILE *const file = fopen(outFile.c_str(), "w"); fwrite(buf, 1, size, file); fclose(file); |