aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2009-08-11 11:01:19 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2009-08-11 11:01:19 +0000
commit6b831983fe187045d057bb7ab79475a9ee4b27df (patch)
tree1e294379450f0b48b41b2c72c75408abaed99648 /tools
parent195c71b472d3f83c1051d2b87f4e93cc928b6ec9 (diff)
Silence MSVC warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llvm-stub/llvm-stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-stub/llvm-stub.c b/tools/llvm-stub/llvm-stub.c
index 366e13c910..f2e478e695 100644
--- a/tools/llvm-stub/llvm-stub.c
+++ b/tools/llvm-stub/llvm-stub.c
@@ -61,7 +61,7 @@ int main(int argc, char** argv) {
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);