summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-stub/llvm-stub.c
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-10 17:35:42 +0000
committerChris Lattner <sabre@nondot.org>2009-08-10 17:35:42 +0000
commit7b01bf612549ff49c6800de1f94c7be2dac34796 (patch)
treea3b6bc8b74daa96c63792e3bdcbc1965422cc5fd /llvm/tools/llvm-stub/llvm-stub.c
parent2a26e351fc0750b62ae7ab5c4253650923aeccc9 (diff)
downloadbcm5719-llvm-7b01bf612549ff49c6800de1f94c7be2dac34796.tar.gz
bcm5719-llvm-7b01bf612549ff49c6800de1f94c7be2dac34796.zip
fix some warnings for the MSVC build, by Yonggang Luo!
llvm-svn: 78571
Diffstat (limited to 'llvm/tools/llvm-stub/llvm-stub.c')
-rw-r--r--llvm/tools/llvm-stub/llvm-stub.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/tools/llvm-stub/llvm-stub.c b/llvm/tools/llvm-stub/llvm-stub.c
index e5624a9c9b0..366e13c9102 100644
--- a/llvm/tools/llvm-stub/llvm-stub.c
+++ b/llvm/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 "
OpenPOWER on IntegriCloud