[Lldb-commits] [lldb] r175337 - Get rid of a warning.
Greg Clayton
gclayton at apple.com
Fri Feb 15 17:47:52 PST 2013
Author: gclayton
Date: Fri Feb 15 19:47:52 2013
New Revision: 175337
URL: http://llvm.org/viewvc/llvm-project?rev=175337&view=rev
Log:
Get rid of a warning.
Modified:
lldb/trunk/tools/debugserver/source/MacOSX/MachException.cpp
Modified: lldb/trunk/tools/debugserver/source/MacOSX/MachException.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/MachException.cpp?rev=175337&r1=175336&r2=175337&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/MachException.cpp (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/MachException.cpp Fri Feb 15 19:47:52 2013
@@ -384,7 +384,7 @@ MachException::Message::Reply(MachProces
if (state_pid != -1)
{
errno = 0;
- if (::ptrace (PT_THUPDATE, state_pid, (caddr_t)state.thread_port, soft_signal) != 0)
+ if (::ptrace (PT_THUPDATE, state_pid, (caddr_t)((uintptr_t)state.thread_port), soft_signal) != 0)
err.SetError(errno, DNBError::POSIX);
else
err.Clear();
More information about the lldb-commits
mailing list