forked from OSchip/llvm-project
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:
parent
b17f9a4609
commit
0947bb20d8
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue