Fix Windows buildbot on which size_t is not unsinged long.

llvm-svn: 194793
This commit is contained in:
Rui Ueyama 2013-11-15 08:08:29 +00:00
parent f4d4d789f7
commit 9a4fd7e582
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}