[Lldb-commits] [lldb] r195685 - Fix compile warnings
Ed Maste
emaste at freebsd.org
Mon Nov 25 13:15:53 PST 2013
Author: emaste
Date: Mon Nov 25 15:15:53 2013
New Revision: 195685
URL: http://llvm.org/viewvc/llvm-project?rev=195685&view=rev
Log:
Fix compile warnings
Modified:
lldb/trunk/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp
Modified: lldb/trunk/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp?rev=195685&r1=195684&r2=195685&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp (original)
+++ lldb/trunk/source/Plugins/Process/FreeBSD/ProcessMonitor.cpp Mon Nov 25 15:15:53 2013
@@ -585,7 +585,7 @@ EventMessageOperation::Execute(ProcessMo
m_result = false;
else {
if (plwp.pl_flags & PL_FLAG_FORKED) {
- m_message = (unsigned long *)plwp.pl_child_pid;
+ *m_message = plwp.pl_child_pid;
m_result = true;
} else
m_result = false;
@@ -953,7 +953,7 @@ ProcessMonitor::Launch(LaunchArgs *args)
}
goto FINISH;
}
- assert(WIFSTOPPED(status) && wpid == pid &&
+ assert(WIFSTOPPED(status) && wpid == (::pid_t)pid &&
"Could not sync with inferior process.");
#ifdef notyet
More information about the lldb-commits
mailing list