diff options
| author | George Rimar <grimar@accesssoftek.com> | 2015-10-25 20:14:07 +0000 |
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2015-10-25 20:14:07 +0000 |
| commit | f940d5918f0f44de3b344a82aa68ed6eeb3a3b3c (patch) | |
| tree | 7ad92b3098f3d3dfb2650a9545f06e2543f39a65 | |
| parent | 10a6e704088f203fa1e02ae072fbc2b7a3b203d8 (diff) | |
| download | bcm5719-llvm-f940d5918f0f44de3b344a82aa68ed6eeb3a3b3c.tar.gz bcm5719-llvm-f940d5918f0f44de3b344a82aa68ed6eeb3a3b3c.zip | |
Another fix of -Wqual-const warning.
llvm-svn: 251259
| -rw-r--r-- | lld/ELF/OutputSections.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp index 781d6c5baa1..b10239b0100 100644 --- a/lld/ELF/OutputSections.cpp +++ b/lld/ELF/OutputSections.cpp @@ -750,7 +750,7 @@ void MergeOutputSection<ELFT>::addSection(MergeInputSection<ELFT> *S) { this->Header.sh_addralign = Align; ArrayRef<uint8_t> D = S->getSectionData(); - StringRef Data((char *)D.data(), D.size()); + StringRef Data((const char *)D.data(), D.size()); uintX_t EntSize = S->getSectionHdr()->sh_entsize; uintX_t Offset = 0; |

