Fix signed-unsigned comparison warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327060 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Zachary Turner
2018-03-08 20:57:37 +00:00
parent 1a5231fa62
commit a5b9298586
+1 -1
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(