[Lldb-commits] [lldb] r217422 - Compare against the right size integer.
Eric Christopher
echristo at gmail.com
Mon Sep 8 23:30:09 PDT 2014
Author: echristo
Date: Tue Sep 9 01:30:09 2014
New Revision: 217422
URL: http://llvm.org/viewvc/llvm-project?rev=217422&view=rev
Log:
Compare against the right size integer.
Modified:
lldb/trunk/tools/lldb-mi/MICmdCmdStack.cpp
Modified: lldb/trunk/tools/lldb-mi/MICmdCmdStack.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/lldb-mi/MICmdCmdStack.cpp?rev=217422&r1=217421&r2=217422&view=diff
==============================================================================
--- lldb/trunk/tools/lldb-mi/MICmdCmdStack.cpp (original)
+++ lldb/trunk/tools/lldb-mi/MICmdCmdStack.cpp Tue Sep 9 01:30:09 2014
@@ -225,7 +225,7 @@ bool CMICmdCmdStackListFrames::Execute(
}
// Frame low and high options are not mandatory
- MIuint nFrameHigh = pArgFrameHigh->GetFound() ? pArgFrameHigh->GetValue() : UINT64_MAX;
+ MIuint nFrameHigh = pArgFrameHigh->GetFound() ? pArgFrameHigh->GetValue() : UINT32_MAX;
const MIuint nFrameLow = pArgFrameLow->GetFound() ? pArgFrameLow->GetValue() : 0;
CMICmnLLDBDebugSessionInfo & rSessionInfo( CMICmnLLDBDebugSessionInfo::Instance() );
More information about the lldb-commits
mailing list