diff options
author | Maksim Denisov <denisov.maksim@huawei.com> | 2024-10-01 14:48:58 +0200 |
---|---|---|
committer | Maksim Denisov <denisov.maksim@huawei.com> | 2024-10-07 13:37:39 +0200 |
commit | c461673aad0970bc89f6336c966d2305eaae0dbb (patch) | |
tree | 7c5235778fdcabba010feb26133ec307b4268fe5 /src/buildtool/file_system/file_system_manager.hpp | |
parent | 7df9944604e2ef92abce20c00ea265793b151261 (diff) | |
download | justbuild-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.hpp | 2 |
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 |