mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Squelch warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8729 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -63,7 +63,7 @@ int execve(const char *filename, char *const argv[], char *const envp[])
|
||||
/* Read the header from the file */
|
||||
ssize_t bytesRead = read(file, header, headerSize);
|
||||
close(file);
|
||||
if (bytesRead != headerSize) return EIO;
|
||||
if (bytesRead != (ssize_t)headerSize) return EIO;
|
||||
if (!memcmp(llvmHeader, header, headerSize)) {
|
||||
/*
|
||||
* This is a bytecode file, so execute the JIT with the program and
|
||||
|
Reference in New Issue
Block a user