Use (void *)(intptr_t) to cast function addresses to void*
authorDan Gohman <gohman@apple.com>
Wed, 5 Aug 2009 21:03:39 +0000 (21:03 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 5 Aug 2009 21:03:39 +0000 (21:03 +0000)
commit8608cf23dae982c7435120d800eaec2fca410ff6
treee9cd0124f65310c916cd8f4eb585a6f1fafc2bb0
parent7bfdca0206f51132b26094c6f83a5ac97ee0f943
Use (void *)(intptr_t) to cast function addresses to void*
for use with sys::Path::GetMainExecutable, to avoid warnings
with -pedantic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78245 91177308-0d34-0410-b5e6-96231b3b80d8
tools/bugpoint/ToolRunner.cpp
tools/llvm-ld/llvm-ld.cpp