diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2009-08-11 11:01:19 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2009-08-11 11:01:19 +0000 |
commit | 6b831983fe187045d057bb7ab79475a9ee4b27df (patch) | |
tree | 1e294379450f0b48b41b2c72c75408abaed99648 /tools/llvm-stub | |
parent | 195c71b472d3f83c1051d2b87f4e93cc928b6ec9 (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/llvm-stub')
-rw-r--r-- | tools/llvm-stub/llvm-stub.c | 2 |
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); |