diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-04-01 00:30:58 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-04-01 00:30:58 +0300 |
commit | 55e0c28be50b70d2b69dd805f249074b6c191ad2 (patch) | |
tree | 16c624c3fbc1fb42d2b526d8edce487a0e3f5651 /src/fs/files.cpp | |
parent | ef151a7e96c9339660590bf908825c5f42d7d2f3 (diff) | |
download | plus-55e0c28be50b70d2b69dd805f249074b6c191ad2.tar.gz plus-55e0c28be50b70d2b69dd805f249074b6c191ad2.tar.bz2 plus-55e0c28be50b70d2b69dd805f249074b6c191ad2.tar.xz plus-55e0c28be50b70d2b69dd805f249074b6c191ad2.zip |
Fix compilation for android and fix code style.
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); |