Avoid warning about inability to cast from ptr-to-obj to ptr-to-fun.
authorDouglas Katzman <dougk@google.com>
Fri, 19 Jun 2015 17:21:02 +0000 (17:21 +0000)
committerDouglas Katzman <dougk@google.com>
Fri, 19 Jun 2015 17:21:02 +0000 (17:21 +0000)
commitae7a59fa3e52ff7b74cff07dbfa19382eec1d9e3
treed85eacfe19d5c00a7694ca54fa5d3a2759976a7b
parentcf0db29df20d9c665da7e82bb261bdd7cf7f1b2b
Avoid warning about inability to cast from ptr-to-obj to ptr-to-fun.

Use POSIX.1-2003 Technical Corrigendum 1 suggested workaround.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240140 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp