From cf95660c3e8459ccf0bf74570f875c41fbc6d320 Mon Sep 17 00:00:00 2001 From: Hemant Kulkarni Date: Tue, 26 Jan 2016 20:38:15 +0000 Subject: [PATCH] Fix comparison warning (r258845) llvm-svn: 258856 --- tools/llvm-readobj/ELFDumper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/llvm-readobj/ELFDumper.cpp b/tools/llvm-readobj/ELFDumper.cpp index 2b7fa1a74c4..dab3d2c38b8 100644 --- a/tools/llvm-readobj/ELFDumper.cpp +++ b/tools/llvm-readobj/ELFDumper.cpp @@ -2282,7 +2282,7 @@ template void ELFDumper::printGroupSections() { W.startLine() << "Signature: " << StrTable.data() + Sym->st_name << "\n"; { ListScope L(W, "Section(s) in group"); - int Member = 1; + size_t Member = 1; while (Member < Data.size()) { auto Sec = errorOrDefault(Obj->getSection(Data[Member])); const StringRef Name = errorOrDefault(Obj->getSectionName(Sec));