summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-stub/llvm-stub.c
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-10-07 18:50:57 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-10-07 18:50:57 +0000
commitd12e9d38b4e6c179600355167dad9b6ca9ef3396 (patch)
tree18a12afd471b362f961d7d96dafb6542418e2aea /llvm/tools/llvm-stub/llvm-stub.c
parente9d5d0736c50e1a5f3f2791010a540de0fd2058a (diff)
downloadbcm5719-llvm-d12e9d38b4e6c179600355167dad9b6ca9ef3396.tar.gz
bcm5719-llvm-d12e9d38b4e6c179600355167dad9b6ca9ef3396.zip
Fix warnings on Windows.
llvm-svn: 115958
Diffstat (limited to 'llvm/tools/llvm-stub/llvm-stub.c')
-rw-r--r--llvm/tools/llvm-stub/llvm-stub.c2
1 files changed, 1 insertions, 1 deletions
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 "
OpenPOWER on IntegriCloud