Commit 65a604df authored by Hans Wennborg's avatar Hans Wennborg
Browse files

Merging r257692:

------------------------------------------------------------------------
r257692 | hans | 2016-01-13 14:40:26 -0800 (Wed, 13 Jan 2016) | 7 lines

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: 257706
parent 16be966e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
}