[llvm-commits] [llvm] r115958 - /llvm/trunk/tools/llvm-stub/llvm-stub.c

Michael J. Spencer bigcheesegs at gmail.com
Thu Oct 7 11:50:58 PDT 2010


Author: mspencer
Date: Thu Oct  7 13:50:57 2010
New Revision: 115958

URL: http://llvm.org/viewvc/llvm-project?rev=115958&view=rev
Log:
Fix warnings on Windows.

Modified:
    llvm/trunk/tools/llvm-stub/llvm-stub.c

Modified: llvm/trunk/tools/llvm-stub/llvm-stub.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-stub/llvm-stub.c?rev=115958&r1=115957&r2=115958&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-stub/llvm-stub.c (original)
+++ llvm/trunk/tools/llvm-stub/llvm-stub.c Thu Oct  7 13:50:57 2010
@@ -64,7 +64,7 @@
   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 "





More information about the llvm-commits mailing list