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());