diff options
author | Lang Hames <lhames@gmail.com> | 2014-08-27 17:48:07 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2014-08-27 17:48:07 +0000 |
commit | 0717c3de026930504fd2850bb0544dd3cfd590c2 (patch) | |
tree | 32fdb52b893cd825b5b8db307229b99933fc97da /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h | |
parent | dc77feb57d832d22e4f6a97015b105caa7431df5 (diff) | |
download | bcm5719-llvm-0717c3de026930504fd2850bb0544dd3cfd590c2.tar.gz bcm5719-llvm-0717c3de026930504fd2850bb0544dd3cfd590c2.zip |
[MCJIT] Replace a C-style cast in RuntimeDyldImpl.h.
llvm-svn: 216568
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h')
-rw-r--r-- | llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h index 95962b86c3f..379cb4ad868 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h +++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h @@ -70,7 +70,7 @@ public: SectionEntry(StringRef name, uint8_t *address, size_t size, uintptr_t objAddress) : Name(name), Address(address), Size(size), - LoadAddress((uintptr_t)address), StubOffset(size), + LoadAddress(reinterpret_cast<uintptr_t>(address)), StubOffset(size), ObjAddress(objAddress) {} }; |