mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-13 22:00:14 +00:00
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…
x
Reference in New Issue
Block a user