diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-10 17:35:42 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-10 17:35:42 +0000 |
commit | ce582ba27bd47259f47d2e9ac7593d7485b2b8a3 (patch) | |
tree | 8e787bcdfb1be894123f4e5bdabd883fd4712b84 /tools/llvm-stub | |
parent | c1a090ff401564c2b00b3a5f4942fecf03cc16fe (diff) | |
download | external_llvm-ce582ba27bd47259f47d2e9ac7593d7485b2b8a3.zip external_llvm-ce582ba27bd47259f47d2e9ac7593d7485b2b8a3.tar.gz external_llvm-ce582ba27bd47259f47d2e9ac7593d7485b2b8a3.tar.bz2 |
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
Diffstat (limited to 'tools/llvm-stub')
-rw-r--r-- | tools/llvm-stub/llvm-stub.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/llvm-stub/llvm-stub.c b/tools/llvm-stub/llvm-stub.c index e5624a9..366e13c 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 " |