From ac77fe3b550dfafc3cde350fc612f272302f93ed Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Wed, 21 Sep 2016 21:14:31 +0000 Subject: Fix integer sign warning from r282105 llvm-svn: 282112 --- lldb/source/Core/SourceManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Core') diff --git a/lldb/source/Core/SourceManager.cpp b/lldb/source/Core/SourceManager.cpp index ff0ee7d8246..b7b8dfb11fc 100644 --- a/lldb/source/Core/SourceManager.cpp +++ b/lldb/source/Core/SourceManager.cpp @@ -172,7 +172,7 @@ size_t SourceManager::DisplaySourceLinesWithLineNumbersUsingLastFile( m_last_file_sp->GetLine(line, src_line); return_value += s->Printf(" \t"); // Insert a space for every non-tab character in the source line. - for (int i = 0; i < column - 1 && i < src_line.length(); ++i) + for (size_t i = 0; i < column - 1 && i < src_line.length(); ++i) return_value += s->PutChar(src_line[i] == '\t' ? '\t' : ' '); // Now add the caret. return_value += s->Printf("^\n"); -- cgit v1.2.3