summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/StackFrame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Target/StackFrame.cpp')
-rw-r--r--lldb/source/Target/StackFrame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Target/StackFrame.cpp b/lldb/source/Target/StackFrame.cpp
index aaf0a4d7ac7..887207199e2 100644
--- a/lldb/source/Target/StackFrame.cpp
+++ b/lldb/source/Target/StackFrame.cpp
@@ -1564,7 +1564,7 @@ namespace
ValueObjectSP
GetValueForOffset(StackFrame &frame, ValueObjectSP &parent, int64_t offset)
{
- if (offset < 0 || offset >= parent->GetByteSize())
+ if (offset < 0 || uint64_t(offset) >= parent->GetByteSize())
{
return ValueObjectSP();
}
OpenPOWER on IntegriCloud