[Lldb-commits] [lldb] r192462 - Eliminate integer sign comparison warning

Ed Maste emaste at freebsd.org
Fri Oct 11 09:30:20 PDT 2013


Author: emaste
Date: Fri Oct 11 11:30:20 2013
New Revision: 192462

URL: http://llvm.org/viewvc/llvm-project?rev=192462&view=rev
Log:
Eliminate integer sign comparison warning


Modified:
    lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp

Modified: lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp?rev=192462&r1=192461&r2=192462&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp (original)
+++ lldb/trunk/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp Fri Oct 11 11:30:20 2013
@@ -244,7 +244,7 @@ DynamicLoaderPOSIXDYLD::UnloadSections(c
     assert(sections && "SectionList missing from unloaded module.");
 
     const size_t num_sections = sections->GetSize();
-    for (auto i = 0; i < num_sections; ++i)
+    for (size_t i = 0; i < num_sections; ++i)
     {
         SectionSP section_sp (sections->GetSectionAtIndex(i));
         load_list.SetSectionUnloaded(section_sp);





More information about the lldb-commits mailing list