forked from OSchip/llvm-project
Fix Windows buildbot on which size_t is not unsinged long.
llvm-svn: 194793
This commit is contained in:
parent
f4d4d789f7
commit
9a4fd7e582
|
@ -111,7 +111,7 @@ public:
|
|||
: HeaderChunk(), _context(ctx) {
|
||||
// Minimum size of DOS stub is 64 bytes. The next block (PE header) needs to
|
||||
// be aligned on 8 byte boundary.
|
||||
_size = std::max(_context.getDosStub().size(), 64UL);
|
||||
_size = std::max(_context.getDosStub().size(), (size_t)64);
|
||||
_size = llvm::RoundUpToAlignment(_size, 8);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue