summaryrefslogtreecommitdiff
path: root/src/fs/files.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-01 00:30:58 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-01 00:30:58 +0300
commit55e0c28be50b70d2b69dd805f249074b6c191ad2 (patch)
tree16c624c3fbc1fb42d2b526d8edce487a0e3f5651 /src/fs/files.cpp
parentef151a7e96c9339660590bf908825c5f42d7d2f3 (diff)
downloadmanaverse-55e0c28be50b70d2b69dd805f249074b6c191ad2.tar.gz
manaverse-55e0c28be50b70d2b69dd805f249074b6c191ad2.tar.bz2
manaverse-55e0c28be50b70d2b69dd805f249074b6c191ad2.tar.xz
manaverse-55e0c28be50b70d2b69dd805f249074b6c191ad2.zip
Fix compilation for android and fix code style.
Diffstat (limited to 'src/fs/files.cpp')
-rw-r--r--src/fs/files.cpp2
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);