summaryrefslogtreecommitdiff
path: root/src/buildtool/file_system/file_system_manager.hpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-10-01 14:48:58 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-10-07 13:37:39 +0200
commitc461673aad0970bc89f6336c966d2305eaae0dbb (patch)
tree7c5235778fdcabba010feb26133ec307b4268fe5 /src/buildtool/file_system/file_system_manager.hpp
parent7df9944604e2ef92abce20c00ea265793b151261 (diff)
downloadjustbuild-c461673aad0970bc89f6336c966d2305eaae0dbb.tar.gz
Enable bugprone-implicit-widening-of-multiplication-result check.
Diffstat (limited to 'src/buildtool/file_system/file_system_manager.hpp')
-rw-r--r--src/buildtool/file_system/file_system_manager.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/file_system/file_system_manager.hpp b/src/buildtool/file_system/file_system_manager.hpp
index d506f4b9..39dd3cf7 100644
--- a/src/buildtool/file_system/file_system_manager.hpp
+++ b/src/buildtool/file_system/file_system_manager.hpp
@@ -1185,7 +1185,7 @@ class FileSystemManager {
/// Non-zero return values indicate errors, which can be decoded using
/// \ref ErrorToString.
class LowLevel {
- static constexpr std::size_t kDefaultChunkSize = 1024 * 32;
+ static constexpr std::size_t kDefaultChunkSize = 1024UL * 32;
static constexpr int kWriteFlags =
O_WRONLY | O_CREAT | O_TRUNC; // NOLINT
static constexpr int kWritePerms = // 644