summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2014-07-22 22:00:04 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2014-07-22 22:00:04 +0000
commit702c1d0986353a7396f1b36abcfcc200c1c08293 (patch)
treeccd927b658ec4f92f3df9f63c816ad62d68b2bf1 /lldb/source/Interpreter/ScriptInterpreterPython.cpp
parent5ff0278b6806ecaa1073d464460db64212bffb8f (diff)
downloadbcm5719-llvm-702c1d0986353a7396f1b36abcfcc200c1c08293.tar.gz
bcm5719-llvm-702c1d0986353a7396f1b36abcfcc200c1c08293.zip
SBHostOS: Fix a pointer-to-function to void-pointer cast
reinterpret_cast may not convert a pointer-to-function to a void-pointer. Take a detour through intptr_t and *then* convert to a pointer-to-function. This fixes a warning emitted by GCC. Differential Revision: http://reviews.llvm.org/D4624 llvm-svn: 213692
Diffstat (limited to 'lldb/source/Interpreter/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud