[llvm] r258856 - Fix comparison warning (r258845)

Hemant Kulkarni via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 26 12:38:15 PST 2016


Author: khemant
Date: Tue Jan 26 14:38:15 2016
New Revision: 258856

URL: http://llvm.org/viewvc/llvm-project?rev=258856&view=rev
Log:
Fix comparison warning (r258845)

Modified:
    llvm/trunk/tools/llvm-readobj/ELFDumper.cpp

Modified: llvm/trunk/tools/llvm-readobj/ELFDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/ELFDumper.cpp?rev=258856&r1=258855&r2=258856&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/ELFDumper.cpp (original)
+++ llvm/trunk/tools/llvm-readobj/ELFDumper.cpp Tue Jan 26 14:38:15 2016
@@ -2282,7 +2282,7 @@ template <class ELFT> void ELFDumper<ELF
       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));




More information about the llvm-commits mailing list