Skip to content

Commit 70abb6e

Browse files
committedOct 23, 2017
LLD: Fix large integer implicitly truncated to unsigned type gcc warning
This fixes gcc warning. Change by Brian Sumner llvm-svn: 316365
1 parent ed4a317 commit 70abb6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lld/ELF/InputSection.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ struct SectionPiece {
220220

221221
uint32_t InputOff;
222222
uint32_t Hash;
223-
uint64_t OutputOff : 63;
223+
int64_t OutputOff : 63;
224224
uint64_t Live : 1;
225225
};
226226

0 commit comments

Comments
 (0)
Please sign in to comment.