aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objcopy/ELF/Object.cpp
diff options
context:
space:
mode:
authorEugene Leviant <eleviant@accesssoftek.com>2019-05-29 12:26:23 +0000
committerEugene Leviant <eleviant@accesssoftek.com>2019-05-29 12:26:23 +0000
commit33da02762fe129f8167924892000295991b6daf3 (patch)
tree327b9b61a37a606baeaabe12b69728a107bfd94c /llvm/tools/llvm-objcopy/ELF/Object.cpp
parentf4fc01f8dd3a5dfd2060d1ad0df6b90e8351ddf7 (diff)
downloadllvm-33da02762fe129f8167924892000295991b6daf3.zip
llvm-33da02762fe129f8167924892000295991b6daf3.tar.gz
llvm-33da02762fe129f8167924892000295991b6daf3.tar.bz2
Attempt to fix buildbot after r361949
llvm-svn: 361954
Diffstat (limited to 'llvm/tools/llvm-objcopy/ELF/Object.cpp')
-rw-r--r--llvm/tools/llvm-objcopy/ELF/Object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-objcopy/ELF/Object.cpp b/llvm/tools/llvm-objcopy/ELF/Object.cpp
index 7a9a1bd..a43fab2 100644
--- a/llvm/tools/llvm-objcopy/ELF/Object.cpp
+++ b/llvm/tools/llvm-objcopy/ELF/Object.cpp
@@ -276,7 +276,7 @@ void IHexSectionWriterBase::visit(const StringTableSection &Sec) {
// We are free to pass an invalid pointer to writeSection as long
// as we don't actually write any data. The real writer class has
// to override this method .
- writeSection(&Sec, {nullptr, Sec.Size});
+ writeSection(&Sec, {nullptr, static_cast<size_t>(Sec.Size)});
}
void IHexSectionWriterBase::visit(const DynamicRelocationSection &Sec) {