[llvm] r361954 - Attempt to fix buildbot after r361949

Eugene Leviant via llvm-commits llvm-commits at lists.llvm.org
Wed May 29 05:26:23 PDT 2019


Author: evgeny777
Date: Wed May 29 05:26:23 2019
New Revision: 361954

URL: http://llvm.org/viewvc/llvm-project?rev=361954&view=rev
Log:
Attempt to fix buildbot after r361949

Modified:
    llvm/trunk/tools/llvm-objcopy/ELF/Object.cpp

Modified: llvm/trunk/tools/llvm-objcopy/ELF/Object.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objcopy/ELF/Object.cpp?rev=361954&r1=361953&r2=361954&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objcopy/ELF/Object.cpp (original)
+++ llvm/trunk/tools/llvm-objcopy/ELF/Object.cpp Wed May 29 05:26:23 2019
@@ -276,7 +276,7 @@ void IHexSectionWriterBase::visit(const
   // 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) {




More information about the llvm-commits mailing list