Fix signed-unsigned comparison warning.
authorZachary Turner <zturner@google.com>
Thu, 8 Mar 2018 20:57:37 +0000 (20:57 +0000)
committerZachary Turner <zturner@google.com>
Thu, 8 Mar 2018 20:57:37 +0000 (20:57 +0000)
llvm-svn: 327060

llvm/lib/Support/MemoryBuffer.cpp

index 9f9987b..a906465 100644 (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(