[Lldb-commits] [lldb] r245373 - Quiet build warnings on MacOSX.
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 18 15:30:25 PDT 2015
Author: gclayton
Date: Tue Aug 18 17:30:25 2015
New Revision: 245373
URL: http://llvm.org/viewvc/llvm-project?rev=245373&view=rev
Log:
Quiet build warnings on MacOSX.
Modified:
lldb/trunk/tools/debugserver/source/MacOSX/MachThread.cpp
Modified: lldb/trunk/tools/debugserver/source/MacOSX/MachThread.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/MachThread.cpp?rev=245373&r1=245372&r2=245373&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/MachThread.cpp (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/MachThread.cpp Tue Aug 18 17:30:25 2015
@@ -572,14 +572,14 @@ MachThread::DumpRegisterState(nub_size_t
}
else
{
- if (m_arch_ap->RegisterSetStateIsValid(regSet))
+ if (m_arch_ap->RegisterSetStateIsValid((int)regSet))
{
const size_t numRegisters = GetNumRegistersInSet(regSet);
uint32_t regIndex = 0;
DNBRegisterValueClass reg;
for (regIndex = 0; regIndex < numRegisters; ++regIndex)
{
- if (m_arch_ap->GetRegisterValue(regSet, regIndex, ®))
+ if (m_arch_ap->GetRegisterValue((uint32_t)regSet, regIndex, ®))
{
reg.Dump(NULL, NULL);
}
More information about the lldb-commits
mailing list