summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorDavid Bolvansky <david.bolvansky@gmail.com>2018-10-31 18:03:36 +0000
committerDavid Bolvansky <david.bolvansky@gmail.com>2018-10-31 18:03:36 +0000
commit8f81aed12d6c8f2c2be7abcda38391addb617aaa (patch)
tree86a4562d4ed5cd6aaaf219dfdbf710e2b9a444cf /lldb/source/Plugins/ScriptInterpreter/Python
parenta01348fa2a654f7496da7a098a86814862cd261a (diff)
downloadbcm5719-llvm-8f81aed12d6c8f2c2be7abcda38391addb617aaa.tar.gz
bcm5719-llvm-8f81aed12d6c8f2c2be7abcda38391addb617aaa.zip
[NFC] Fixed -Wsign-compare warning
llvm-svn: 345755
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
index 42b63ec3933..7fb9f50d939 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
@@ -1547,7 +1547,7 @@ lldb::ValueObjectListSP ScriptInterpreterPython::GetRecognizedArguments(
if (py_return.get()) {
PythonList result_list(PyRefType::Borrowed, py_return.get());
ValueObjectListSP result = ValueObjectListSP(new ValueObjectList());
- for (int i = 0; i < result_list.GetSize(); i++) {
+ for (size_t i = 0; i < result_list.GetSize(); i++) {
PyObject *item = result_list.GetItemAtIndex(i).get();
lldb::SBValue *sb_value_ptr =
(lldb::SBValue *)g_swig_cast_to_sbvalue(item);
OpenPOWER on IntegriCloud