From c461673aad0970bc89f6336c966d2305eaae0dbb Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Tue, 1 Oct 2024 14:48:58 +0200 Subject: Enable bugprone-implicit-widening-of-multiplication-result check. --- src/buildtool/file_system/file_system_manager.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buildtool/file_system/file_system_manager.hpp') 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 -- cgit v1.2.3