Fixing an MSVC conversion warning about implicitly converting the shift results to...
authorAaron Ballman <aaron@aaronballman.com>
Mon, 21 Jul 2014 12:31:43 +0000 (12:31 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 21 Jul 2014 12:31:43 +0000 (12:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213515 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp

index aba67f2e69e02da6661e2b60bd75cb9148259c7b..58fb51557c93d9a9921ab04bd1adfc843aafce72 100644 (file)
@@ -90,7 +90,7 @@ void RuntimeDyldMachO::makeValueAddendPCRel(RelocationValueRef &Value,
     uint64_t RelocAddr = 0;
     RI->getAddress(RelocAddr);
     unsigned RelocSize = Obj.getAnyRelocationLength(RelInfo);
-    Value.Addend += RelocAddr + (1 << RelocSize);
+    Value.Addend += RelocAddr + (1ULL << RelocSize);
   }
 }