forked from OSchip/llvm-project
Fix a compilation failure with non MSVC compilers.
llvm-svn: 329209
This commit is contained in:
parent
86a9ddcd1a
commit
4703a3f5c4
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue