summaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs')
-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 98eea7cfc..ce7f663a3 100644
--- a/src/fs/files.cpp
+++ b/src/fs/files.cpp
@@ -188,7 +188,7 @@ int Files::copyFile(const std::string &restrict srcName,
const int chunkSize = 512000;
char *buf = new char[chunkSize];
size_t sz = 0;
- while ((sz = fread(buf, 1, chunkSize, srcFile)) != 0u)
+ while ((sz = fread(buf, 1, chunkSize, srcFile)) != 0U)
{
if (fwrite(buf, 1, sz, dstFile) != sz)
{