summaryrefslogtreecommitdiff
path: root/src/fs/files.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-11 21:39:42 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-11 21:39:42 +0300
commita721e4898f71a68ecb916940864599d462880e5b (patch)
tree50442e8b86707221f498ea0f304a5314a0e67430 /src/fs/files.cpp
parent81b97b30afa0c72e5ff17162c7d1fa88dd6187fb (diff)
downloadmanaplus-a721e4898f71a68ecb916940864599d462880e5b.tar.gz
manaplus-a721e4898f71a68ecb916940864599d462880e5b.tar.bz2
manaplus-a721e4898f71a68ecb916940864599d462880e5b.tar.xz
manaplus-a721e4898f71a68ecb916940864599d462880e5b.zip
Fix different issues found by automatic checks.
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 6c4792270..b53228ab1 100644
--- a/src/fs/files.cpp
+++ b/src/fs/files.cpp
@@ -190,7 +190,7 @@ int Files::copyFile(const std::string &restrict srcName,
return -1;
}
- const int chunkSize = 500000;
+ const int chunkSize = 512000;
char *buf = new char[chunkSize];
size_t sz = 0;
while ((sz = fread(buf, 1, chunkSize, srcFile)))