From d12e9d38b4e6c179600355167dad9b6ca9ef3396 Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Thu, 7 Oct 2010 18:50:57 +0000 Subject: Fix warnings on Windows. llvm-svn: 115958 --- llvm/tools/llvm-stub/llvm-stub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/tools') diff --git a/llvm/tools/llvm-stub/llvm-stub.c b/llvm/tools/llvm-stub/llvm-stub.c index f2e478e6958..125fba939a5 100644 --- a/llvm/tools/llvm-stub/llvm-stub.c +++ b/llvm/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 " -- cgit v1.2.3