llvm.org GIT mirror llvm / df8b8e7
Fixing a -Wsign-compare warning; NFC. I think it might make sense to make COFF::MaxNumberOfSections16 be a uint32_t, however, that may have wider-reaching implications in other projects, which is why I did not change that declaration. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220384 91177308-0d34-0410-b5e6-96231b3b80d8 Aaron Ballman 4 years ago
1 changed file(s) with 2 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3636 }
3737
3838 bool useBigObj() const {
39 return Obj.Sections.size() > COFF::MaxNumberOfSections16;
39 return static_cast(Obj.Sections.size()) >
40 COFF::MaxNumberOfSections16;
4041 }
4142
4243 unsigned getHeaderSize() const {