summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MachObjectWriter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-08-16 16:35:20 +0000
committerChris Lattner <sabre@nondot.org>2010-08-16 16:35:20 +0000
commit1218ed824d7362797172915c830ba20c3262da71 (patch)
tree79bb696b19cbcaf53642deaca20fd6dc484c5638 /llvm/lib/MC/MachObjectWriter.cpp
parent0d0cc18af56914c97c0815130df8e0584fe240bf (diff)
downloadbcm5719-llvm-1218ed824d7362797172915c830ba20c3262da71.tar.gz
bcm5719-llvm-1218ed824d7362797172915c830ba20c3262da71.zip
silence a vc2010 warning: " result of 32-bit shift implicitly converted to
64 bits (was 64-bit shift intended?)", pointed out by 'nobled' on llvmdev llvm-svn: 111148
Diffstat (limited to 'llvm/lib/MC/MachObjectWriter.cpp')
-rw-r--r--llvm/lib/MC/MachObjectWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MachObjectWriter.cpp b/llvm/lib/MC/MachObjectWriter.cpp
index 7ca09511bde..cffabfadb31 100644
--- a/llvm/lib/MC/MachObjectWriter.cpp
+++ b/llvm/lib/MC/MachObjectWriter.cpp
@@ -769,7 +769,7 @@ public:
IsPCRel = 1;
FixedValue = (FixupAddress - Layout.getSymbolAddress(SD_B) +
Target.getConstant());
- FixedValue += 1 << Log2Size;
+ FixedValue += 1ULL << Log2Size;
} else {
FixedValue = 0;
}
OpenPOWER on IntegriCloud