forked from OSchip/llvm-project
Fix "result of 32-bit shift implicitly converted to 64 bits" MSVC warning. NFC.
This commit is contained in:
parent
6b15157610
commit
156b94c2d3
|
@ -1430,7 +1430,7 @@ void DeduplicatedCStringSection::finalizeContents() {
|
|||
assert(it != stringOffsetMap.end());
|
||||
StringOffset &offsetInfo = it->second;
|
||||
if (offsetInfo.outSecOff == UINT64_MAX) {
|
||||
offsetInfo.outSecOff = alignTo(size, 1 << offsetInfo.trailingZeros);
|
||||
offsetInfo.outSecOff = alignTo(size, 1ULL << offsetInfo.trailingZeros);
|
||||
size = offsetInfo.outSecOff + s.size();
|
||||
}
|
||||
isec->pieces[i].outSecOff = offsetInfo.outSecOff;
|
||||
|
|
Loading…
Reference in New Issue