[llvm-commits] [llvm] r78660 - /llvm/trunk/tools/llvm-stub/llvm-stub.c
Benjamin Kramer
benny.kra at googlemail.com
Tue Aug 11 04:01:19 PDT 2009
Author: d0k
Date: Tue Aug 11 06:01:19 2009
New Revision: 78660
URL: http://llvm.org/viewvc/llvm-project?rev=78660&view=rev
Log:
Silence MSVC warning.
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=78660&r1=78659&r2=78660&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-stub/llvm-stub.c (original)
+++ llvm/trunk/tools/llvm-stub/llvm-stub.c Tue Aug 11 06:01:19 2009
@@ -61,7 +61,7 @@
Args[1] = strcat(strcpy((char*)malloc(strlen(argv[0])+4), argv[0]), ".bc");
/* The rest of the args are as before. */
- memcpy(Args+2, argv+1, sizeof(char*)*argc);
+ memcpy((char **)Args+2, argv+1, sizeof(char*)*argc);
/* Run the JIT. */
execvp(Interp, (char **)Args);
More information about the llvm-commits
mailing list