SBCommunication: Fix a pointer-to-function to void-pointer cast
authorDavid Majnemer <david.majnemer@gmail.com>
Tue, 22 Jul 2014 22:12:58 +0000 (22:12 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Tue, 22 Jul 2014 22:12:58 +0000 (22:12 +0000)
commit12bb77ddd1ab418fce280d2be5af9a3b6c4295fc
treec2d9058b3a85cab4c4b0b15582279546442c682c
parentf57a430b90985d142a39816a41b9379f9af84de3
SBCommunication: 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 diagnostic emitted by GCC.

llvm-svn: 213696
lldb/source/API/SBCommunication.cpp