From a6d18b282ab916c6536dc25516affeb9200043b6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 29 Oct 2018 02:02:04 +0300 Subject: Fix code style. --- src/fs/files.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fs/files.cpp') 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) { -- cgit v1.2.3-70-g09d2