summaryrefslogtreecommitdiff
path: root/tools/llvm-stub
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvm-stub')
-rw-r--r--tools/llvm-stub/llvm-stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-stub/llvm-stub.c b/tools/llvm-stub/llvm-stub.c
index f2e478e695..125fba939a 100644
--- a/tools/llvm-stub/llvm-stub.c
+++ b/tools/llvm-stub/llvm-stub.c
@@ -64,7 +64,7 @@ int main(int argc, char** argv) {
memcpy((char **)Args+2, argv+1, sizeof(char*)*argc);
/* Run the JIT. */
- execvp(Interp, (char **)Args);
+ execvp(Interp, Args);
/* if _execv returns, the JIT could not be started. */
fprintf(stderr, "Could not execute the LLVM JIT. Either add 'lli' to your"
" path, or set the\ninterpreter you want to use in the LLVMINTERP "