1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

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 0875a2f99e
commit c206d39c3c

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