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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/llvm-stub/llvm-stub.c b/tools/llvm-stub/llvm-stub.c
index e5624a9c9b..366e13c910 100644
--- a/tools/llvm-stub/llvm-stub.c
+++ b/tools/llvm-stub/llvm-stub.c
@@ -64,8 +64,7 @@ int main(int argc, char** argv) {
memcpy(Args+2, argv+1, sizeof(char*)*argc);
/* Run the JIT. */
- execvp(Interp, (char *const*)Args);
-
+ execvp(Interp, (char **)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 "