Fix a compilation failure with non MSVC compilers.

llvm-svn: 329209
This commit is contained in:
Zachary Turner 2018-04-04 17:41:05 +00:00
parent 86a9ddcd1a
commit 4703a3f5c4
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ Expected<InputFile> 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<StringError>(
formatv("File {0} could not be opened", Path), Result.getError());