diff options
Diffstat (limited to 'lld/ELF/LinkerScript.cpp')
| -rw-r--r-- | lld/ELF/LinkerScript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index 019c4e8df2b..7776889eaab 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp @@ -333,7 +333,7 @@ LinkerScript::createInputSectionList(OutputSectionCommand &OutCmd) { Cmd->Sections = computeInputSections(Cmd); for (InputSectionBase *S : Cmd->Sections) - Ret.push_back(static_cast<InputSectionBase *>(S)); + Ret.push_back(S); } return Ret; |

