Fix warnings on Windows.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Thu, 7 Oct 2010 18:50:57 +0000 (18:50 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Thu, 7 Oct 2010 18:50:57 +0000 (18:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115958 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-stub/llvm-stub.c

index f2e478e69583b85d66f2a22ce4c08d14f8351442..125fba939a59747ddf4d54f4658ad883d8043f1c 100644 (file)
@@ -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 "