diff --git a/llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h b/llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h --- a/llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h +++ b/llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h @@ -62,9 +62,10 @@ std::string FallbackDebugPath; std::string DWPName; std::vector DebugFileDirectory; - size_t MaxCacheSize = sizeof(size_t) == 4 - ? 512 * 1024 * 1024 /* 512 MiB */ - : 4ULL * 1024 * 1024 * 1024 /* 4 GiB */; + size_t MaxCacheSize = + sizeof(size_t) == 4 + ? 512 * 1024 * 1024 /* 512 MiB */ + : static_cast(4ULL * 1024 * 1024 * 1024) /* 4 GiB */; }; LLVMSymbolizer();