[PATCH] D39186: LLD: Fix large integer implicitly truncated to unsigned type warning

Konstantin Zhuravlyov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 23 10:05:23 PDT 2017


kzhuravl updated this revision to Diff 119889.
kzhuravl added a comment.

Address review feedback.


https://reviews.llvm.org/D39186

Files:
  ELF/InputSection.h


Index: ELF/InputSection.h
===================================================================
--- ELF/InputSection.h
+++ ELF/InputSection.h
@@ -220,7 +220,7 @@
 
   uint32_t InputOff;
   uint32_t Hash;
-  uint64_t OutputOff : 63;
+  int64_t OutputOff : 63;
   uint64_t Live : 1;
 };
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39186.119889.patch
Type: text/x-patch
Size: 285 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171023/24843d33/attachment.bin>


More information about the llvm-commits mailing list