Silence MSVC warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78660 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/llvm-stub/llvm-stub.c b/tools/llvm-stub/llvm-stub.c
index 366e13c..f2e478e 100644
--- a/tools/llvm-stub/llvm-stub.c
+++ b/tools/llvm-stub/llvm-stub.c
@@ -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);