summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2015-01-09 20:15:03 +0000
committerZachary Turner <zturner@google.com>2015-01-09 20:15:03 +0000
commit225cc30afe18dd625f22519b6d4903ac4da08c3a (patch)
treeea5b1269b5060ff578e60c07d81b550992d3930b
parent3f7f2077c372e5c827c0c6ae7b2f8025402331a0 (diff)
downloadbcm5719-llvm-225cc30afe18dd625f22519b6d4903ac4da08c3a.tar.gz
bcm5719-llvm-225cc30afe18dd625f22519b6d4903ac4da08c3a.zip
Change auto to size_t to fix warning.
Patch by Dan Sinclair Differential Revision: http://reviews.llvm.org/D6899 llvm-svn: 225539
-rw-r--r--lldb/source/DataFormatters/NSIndexPath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/DataFormatters/NSIndexPath.cpp b/lldb/source/DataFormatters/NSIndexPath.cpp
index 745fb78c265..ee9583ef4cc 100644
--- a/lldb/source/DataFormatters/NSIndexPath.cpp
+++ b/lldb/source/DataFormatters/NSIndexPath.cpp
@@ -86,7 +86,7 @@ public:
bool has_indexes(false),has_length(false);
- for (auto x = 0;
+ for (size_t x = 0;
x < descriptor->GetNumIVars();
x++)
{
OpenPOWER on IntegriCloud