ELF: Add '*' to auto.

llvm-svn: 261941
This commit is contained in:
Rui Ueyama 2016-02-25 23:58:21 +00:00
parent 274220cda2
commit ad59b65f18
1 changed files with 1 additions and 1 deletions

View File

@ -1492,7 +1492,7 @@ template <class ELFT> void Writer<ELFT>::writeHeader() {
*HBuf++ = P.H;
// Write the section header table. Note that the first table entry is null.
auto SHdrs = reinterpret_cast<Elf_Shdr *>(Buf + EHdr->e_shoff);
auto *SHdrs = reinterpret_cast<Elf_Shdr *>(Buf + EHdr->e_shoff);
for (OutputSectionBase<ELFT> *Sec : getSections())
Sec->writeHeaderTo(++SHdrs);
}