From 4703a3f5c4885399c7d87ed082ce8c7dabc5ec9f Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Wed, 4 Apr 2018 17:41:05 +0000 Subject: [PATCH] Fix a compilation failure with non MSVC compilers. llvm-svn: 329209 --- llvm/tools/llvm-pdbutil/InputFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/llvm-pdbutil/InputFile.cpp b/llvm/tools/llvm-pdbutil/InputFile.cpp index 8319fc550d6b..3695cbfc4f96 100644 --- a/llvm/tools/llvm-pdbutil/InputFile.cpp +++ b/llvm/tools/llvm-pdbutil/InputFile.cpp @@ -279,7 +279,7 @@ Expected InputFile::open(StringRef Path, bool AllowUnknownFile) { formatv("File {0} is not a supported file type", Path), inconvertibleErrorCode()); - auto Result = MemoryBuffer::getFile(Path, -1i64, false); + auto Result = MemoryBuffer::getFile(Path, -1LL, false); if (!Result) return make_error( formatv("File {0} could not be opened", Path), Result.getError());