From 8e1036fbc19bba1fa8eec040c4aa2a25f0c885f5 Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Thu, 7 Oct 2010 18:50:57 +0000 Subject: [PATCH] Fix warnings on Windows. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115958 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-stub/llvm-stub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/llvm-stub/llvm-stub.c b/tools/llvm-stub/llvm-stub.c index f2e478e6958..125fba939a5 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 "