From 27738bec75bc09334163f6e4a451abc17b9ab985 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 11 Oct 2013 16:30:20 +0000 Subject: [PATCH] Eliminate integer sign comparison warning llvm-svn: 192462 --- .../Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp b/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp index 60d7c6fe9025..9aed07de2e90 100644 --- a/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp +++ b/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp @@ -244,7 +244,7 @@ DynamicLoaderPOSIXDYLD::UnloadSections(const ModuleSP module) 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);