[Lldb-commits] [lldb] r233408 - Fix -Wsign-compare warning

David Blaikie dblaikie at gmail.com
Fri Mar 27 13:19:14 PDT 2015


Author: dblaikie
Date: Fri Mar 27 15:19:14 2015
New Revision: 233408

URL: http://llvm.org/viewvc/llvm-project?rev=233408&view=rev
Log:
Fix -Wsign-compare warning

Modified:
    lldb/trunk/source/Commands/CommandObjectTarget.cpp

Modified: lldb/trunk/source/Commands/CommandObjectTarget.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectTarget.cpp?rev=233408&r1=233407&r2=233408&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectTarget.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectTarget.cpp Fri Mar 27 15:19:14 2015
@@ -640,7 +640,7 @@ protected:
 
         if (m_all_option.GetOptionValue())
         {
-            for (uint32_t i = 0; i < target_list.GetNumTargets(); ++i)
+            for (int i = 0; i < target_list.GetNumTargets(); ++i)
                 delete_target_list.push_back(target_list.GetTargetAtIndex(i));
         }
         else if (argc > 0)





More information about the lldb-commits mailing list