Fix -Wformat-pedantic warning

/work/llvm-3.8/llvm.src/tools/lldb/source/API/SBProcess.cpp:1003:73:
error: format specifies type 'void *' but the argument has type 'lldb_private::Event *' [-Werror,-Wformat-pedantic]
        log->Printf ("SBProcess::%s (event.sp=%p) => %d", __FUNCTION__, event.get(), ret_val);
                                              ~~                        ^~~~~~~~~~~
1 error generated.

llvm-svn: 257692
This commit is contained in:
Hans Wennborg 2016-01-13 22:40:26 +00:00
parent 6ab018ec2e
commit 400e1809ad
1 changed files with 2 additions and 1 deletions

View File

@ -1000,7 +1000,8 @@ SBProcess::GetRestartedFromEvent (const SBEvent &event)
bool ret_val = Process::ProcessEventData::GetRestartedFromEvent (event.get());
if (log)
log->Printf ("SBProcess::%s (event.sp=%p) => %d", __FUNCTION__, event.get(), ret_val);
log->Printf ("SBProcess::%s (event.sp=%p) => %d", __FUNCTION__,
static_cast<void*>(event.get()), ret_val);
return ret_val;
}