summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/StackFrame.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-09-06 10:04:22 +0000
committerPavel Labath <labath@google.com>2016-09-06 10:04:22 +0000
commit5cf1ece222936a0b7d6cc053c6db71a1956412d9 (patch)
tree250178c5b661f2870e1592ce56260be3849784a2 /lldb/source/Target/StackFrame.cpp
parent4fa3b50fc38fb5665c40aea11c91e8e020be221e (diff)
downloadbcm5719-llvm-5cf1ece222936a0b7d6cc053c6db71a1956412d9.tar.gz
bcm5719-llvm-5cf1ece222936a0b7d6cc053c6db71a1956412d9.zip
Fix build breakage in r280692
The commit introduced an array of const objects, which libstdc++ does not like. Make the object non-const. Also fix a compiler warning while I'm in there. llvm-svn: 280697
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