mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Fix a compilation failure with non MSVC compilers.
llvm-svn: 329209
This commit is contained in:
parent
0875a2f99e
commit
c206d39c3c
@ -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…
x
Reference in New Issue
Block a user