commit | ad59b65f18b0b7923dd15a2ded1cc96602da08f5 | [log] [tgz] |
---|---|---|
author | Rui Ueyama <ruiu@google.com> | Thu Feb 25 23:58:21 2016 +0000 |
committer | Rui Ueyama <ruiu@google.com> | Thu Feb 25 23:58:21 2016 +0000 |
tree | e963450b53502fa32a445e1318651144feddd1bb | |
parent | 274220cda23fe912529a00e4892b0244501eb453 [diff] [blame] |
ELF: Add '*' to auto. llvm-svn: 261941
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index a87770e..9dad3ab 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp
@@ -1492,7 +1492,7 @@ *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); }