aboutsummaryrefslogtreecommitdiffstats
path: root/tools
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
commit8e1036fbc19bba1fa8eec040c4aa2a25f0c885f5 (patch)
tree1be3a934d0c2cd345e34be2752b419a23c7147f5 /tools
parent9966306aa7eab65d160df88b36ab13cd15dbecdb (diff)
downloadexternal_llvm-8e1036fbc19bba1fa8eec040c4aa2a25f0c885f5.zip
external_llvm-8e1036fbc19bba1fa8eec040c4aa2a25f0c885f5.tar.gz
external_llvm-8e1036fbc19bba1fa8eec040c4aa2a25f0c885f5.tar.bz2
Fix warnings on Windows.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-stub/llvm-stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-stub/llvm-stub.c b/tools/llvm-stub/llvm-stub.c
index f2e478e..125fba9 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 "