mirror of
https://github.com/RPCSX/llvm.git
synced 2025-04-02 08:11:54 +00:00
gold: add a cast to appease std::max NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278567 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5385053dc4
commit
d20e86ca8f
@ -626,7 +626,8 @@ static void addModule(LTO &Lto, claimed_file &F, const void *View) {
|
||||
CommonRes.Prevailing = true;
|
||||
CommonRes.VisibleToRegularObj = R.VisibleToRegularObj;
|
||||
}
|
||||
CommonRes.Size = std::max(CommonRes.Size, ObjSym.getCommonSize());
|
||||
CommonRes.Size = std::max(CommonRes.Size,
|
||||
static_cast<uint64_t>(ObjSym.getCommonSize()));
|
||||
CommonRes.Align = std::max(CommonRes.Align, ObjSym.getCommonAlignment());
|
||||
R.Prevailing = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user