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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111148 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2010-08-16 16:35:20 +00:00
parent 0c5e95df57
commit abf8f9cbb8

View File

@ -769,7 +769,7 @@ public:
IsPCRel = 1;
FixedValue = (FixupAddress - Layout.getSymbolAddress(SD_B) +
Target.getConstant());
FixedValue += 1 << Log2Size;
FixedValue += 1ULL << Log2Size;
} else {
FixedValue = 0;
}