From 752c7b793842383ed2497465d4c325733842882d Mon Sep 17 00:00:00 2001 From: Eugene Leviant Date: Wed, 29 May 2019 12:26:23 +0000 Subject: [PATCH] Attempt to fix buildbot after r361949 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361954 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-objcopy/ELF/Object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/llvm-objcopy/ELF/Object.cpp b/tools/llvm-objcopy/ELF/Object.cpp index 7a9a1bd37e5..a43fab28e88 100644 --- a/tools/llvm-objcopy/ELF/Object.cpp +++ b/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(Sec.Size)}); } void IHexSectionWriterBase::visit(const DynamicRelocationSection &Sec) { -- 2.11.0