summaryrefslogtreecommitdiffstats
path: root/lldb/source/API/SBDebugger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API/SBDebugger.cpp')
-rw-r--r--lldb/source/API/SBDebugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBDebugger.cpp b/lldb/source/API/SBDebugger.cpp
index 7af39038c9b..d83c65cdbe9 100644
--- a/lldb/source/API/SBDebugger.cpp
+++ b/lldb/source/API/SBDebugger.cpp
@@ -585,7 +585,7 @@ SBDebugger::GetInternalVariableValue (const char *var_name)
lldb::SettableVariableType var_type;
StringList value = root_settings_controller->GetVariable (var_name, var_type);
- for (int i = 0; i < value.GetSize(); ++i)
+ for (unsigned i = 0; i != value.GetSize(); ++i)
ret_value.AppendString (value.GetStringAtIndex(i));
return ret_value;
OpenPOWER on IntegriCloud