Fixing an MSVC warning about widening the result of a 32-bit shift implicitly. No functional change intended.

llvm-svn: 205304
This commit is contained in:
Aaron Ballman 2014-04-01 12:24:25 +00:00
parent b17f9a4609
commit 0947bb20d8
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ void ARM64MachObjectWriter::RecordRelocation(
if (IsPCRel)
Value -= Writer->getFragmentAddress(Fragment, Layout) +
Fixup.getOffset() + (1 << Log2Size);
Fixup.getOffset() + (1ULL << Log2Size);
} else {
// Resolve constant variables.
if (SD.getSymbol().isVariable()) {