1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

Fix comparison warning (r258845)

llvm-svn: 258856
This commit is contained in:
Hemant Kulkarni 2016-01-26 20:38:15 +00:00
parent 01d2899e13
commit cf95660c3e

View File

@ -2282,7 +2282,7 @@ template <class ELFT> void ELFDumper<ELFT>::printGroupSections() {
W.startLine() << "Signature: " << StrTable.data() + Sym->st_name << "\n"; W.startLine() << "Signature: " << StrTable.data() + Sym->st_name << "\n";
{ {
ListScope L(W, "Section(s) in group"); ListScope L(W, "Section(s) in group");
int Member = 1; size_t Member = 1;
while (Member < Data.size()) { while (Member < Data.size()) {
auto Sec = errorOrDefault(Obj->getSection(Data[Member])); auto Sec = errorOrDefault(Obj->getSection(Data[Member]));
const StringRef Name = errorOrDefault(Obj->getSectionName(Sec)); const StringRef Name = errorOrDefault(Obj->getSectionName(Sec));