diff options
Diffstat (limited to 'lib/VMCore/Core.cpp')
| -rw-r--r-- | lib/VMCore/Core.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/VMCore/Core.cpp b/lib/VMCore/Core.cpp index 59b9b1a..c35c85d 100644 --- a/lib/VMCore/Core.cpp +++ b/lib/VMCore/Core.cpp @@ -1307,7 +1307,7 @@ int LLVMCreateMemoryBufferWithContentsOfFile(const char *Path,                                               LLVMMemoryBufferRef *OutMemBuf,                                               char **OutMessage) {    std::string Error; -  if (MemoryBuffer *MB = MemoryBuffer::getFile(Path, strlen(Path), &Error)) { +  if (MemoryBuffer *MB = MemoryBuffer::getFile(Path, &Error)) {      *OutMemBuf = wrap(MB);      return 0;    } | 
