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:
parent
6ab018ec2e
commit
400e1809ad
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue