From bb9fd2cbd452fa4ac8d8d6a4756a5301a89e1cfc Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Mon, 21 Jul 2014 12:31:43 +0000 Subject: [PATCH] Fixing an MSVC conversion warning about implicitly converting the shift results to 64-bits. No functional change intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213515 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp index aba67f2e69e..58fb51557c9 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp +++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp @@ -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); } }