From 6c078a596051f4e9b7f2778065f83e02c9e852b9 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. llvm-svn: 213515 --- llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp index aba67f2..58fb515 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp +++ b/llvm/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); } } -- 2.7.4