mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-25 21:46:50 +00:00
Silence a -Wsign-compare warning. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216666 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e9c80bc2f8
commit
6948f9e09c
@ -849,7 +849,7 @@ void WinCOFFObjectWriter::WriteObject(MCAssembler &Asm,
|
||||
MakeSectionReal(*Section, Number);
|
||||
}
|
||||
|
||||
if (NumberOfSections > COFF::MaxNumberOfSections)
|
||||
if (NumberOfSections > static_cast<size_t>(COFF::MaxNumberOfSections))
|
||||
report_fatal_error(
|
||||
"PE COFF object files can't have more than 65,299 sections");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user