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 /test | |
parent | 7df9944604e2ef92abce20c00ea265793b151261 (diff) | |
download | justbuild-c461673aad0970bc89f6336c966d2305eaae0dbb.tar.gz |
Enable bugprone-implicit-widening-of-multiplication-result check.
Diffstat (limited to 'test')
-rw-r--r-- | test/buildtool/storage/large_object_cas.test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/buildtool/storage/large_object_cas.test.cpp b/test/buildtool/storage/large_object_cas.test.cpp index e0e3c816..a7dff9a7 100644 --- a/test/buildtool/storage/large_object_cas.test.cpp +++ b/test/buildtool/storage/large_object_cas.test.cpp @@ -46,7 +46,7 @@ template <bool IsExecutable> class Blob final { public: static constexpr auto kLargeId = std::string_view("bl_8Mb"); - static constexpr auto kLargeSize = std::uintmax_t(8 * 1024 * 1024); + static constexpr auto kLargeSize = std::uintmax_t(8UL * 1024 * 1024); static constexpr auto kSmallId = std::string_view("bl_1kB"); static constexpr auto kSmallSize = std::uintmax_t(1024); |