From 0f701c4a954211827b9f4cc08536b2aff88a6f89 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Thu, 8 Mar 2018 20:57:37 +0000 Subject: [PATCH] Fix signed-unsigned comparison warning. llvm-svn: 327060 --- llvm/lib/Support/MemoryBuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Support/MemoryBuffer.cpp b/llvm/lib/Support/MemoryBuffer.cpp index 9f9987b..a906465 100644 --- a/llvm/lib/Support/MemoryBuffer.cpp +++ b/llvm/lib/Support/MemoryBuffer.cpp @@ -360,7 +360,7 @@ static bool shouldUseMmap(int FD, } static ErrorOr> -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( -- 2.7.4