]> granicus.if.org Git - llvm/commitdiff
Unbreak 32-bit build.
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 7 Jun 2019 18:57:32 +0000 (18:57 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 7 Jun 2019 18:57:32 +0000 (18:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362827 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-objcopy/ELF/Object.h

index af37a2bbc625db63782d7c8db5ec2f35e1024a88..2d0efa0a66122dc7919cb341656f4ef7377188a4 100644 (file)
@@ -889,7 +889,7 @@ private:
 
   const ELFFile<ELFT> &ElfFile;
   Object &Obj;
-  uint64_t EhdrOffset = 0;
+  size_t EhdrOffset = 0;
   Optional<StringRef> ExtractPartition;
 
   void setParentSegment(Segment &Child);