Fix compile warnings

llvm-svn: 195685
This commit is contained in:
Ed Maste 2013-11-25 21:15:53 +00:00
parent a834e30130
commit 82a0005b21
1 changed files with 2 additions and 2 deletions

View File

@ -585,7 +585,7 @@ EventMessageOperation::Execute(ProcessMonitor *monitor)
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