From 12b2bda61a78d24e5e7e420d6fd0900d0921036b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 10 Aug 2009 17:35:42 +0000 Subject: fix some warnings for the MSVC build, by Yonggang Luo! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78571 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-stub/llvm-stub.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tools/llvm-stub') 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 " -- cgit v1.2.3