Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" warning. NFCI.

llvm-svn: 366563
This commit is contained in:
Simon Pilgrim 2019-07-19 11:18:46 +00:00
parent 8780c0dda2
commit 2e435ef3ed
1 changed files with 1 additions and 1 deletions

View File

@ -416,7 +416,7 @@ buildFatArchList(ArrayRef<Slice> Slices) {
sizeof(MachO::fat_header) + Slices.size() * sizeof(MachO::fat_arch);
for (size_t Index = 0, Size = Slices.size(); Index < Size; ++Index) {
Offset = alignTo(Offset, 1 << Slices[Index].Alignment);
Offset = alignTo(Offset, 1ull << Slices[Index].Alignment);
const MachOObjectFile *ObjectFile = Slices[Index].ObjectFile;
if (Offset > UINT32_MAX)
reportError("fat file too large to be created because the offset "