Fix signed-unsigned comparison warning.

llvm-svn: 327060
This commit is contained in:
Zachary Turner 2018-03-08 20:57:37 +00:00
parent a0729d4126
commit 0f701c4a95
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ static bool shouldUseMmap(int FD,
}
static ErrorOr<std::unique_ptr<WriteThroughMemoryBuffer>>
getReadWriteFile(const Twine &Filename, int64_t FileSize, uint64_t MapSize,
getReadWriteFile(const Twine &Filename, uint64_t FileSize, uint64_t MapSize,
uint64_t Offset) {
int FD;
std::error_code EC = sys::fs::openFileForWrite(