From 8f81aed12d6c8f2c2be7abcda38391addb617aaa Mon Sep 17 00:00:00 2001 From: David Bolvansky Date: Wed, 31 Oct 2018 18:03:36 +0000 Subject: [NFC] Fixed -Wsign-compare warning llvm-svn: 345755 --- .../source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp') 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); -- cgit v1.2.3