mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-25 16:31:33 +00:00
Silence MSVC warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78660 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
195c71b472
commit
6b831983fe
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user