Fix for x86-64: The first and second arguments of memcpy must be pointers.
This commit is contained in:
parent
2e9b57b6d0
commit
de3f0a46fe
1 changed files with 2 additions and 2 deletions
4
tcc.c
4
tcc.c
|
@ -6634,11 +6634,11 @@ void vstore(void)
|
|||
|
||||
/* destination */
|
||||
vpushv(vtop - 2);
|
||||
vtop->type.t = VT_INT;
|
||||
vtop->type.t = VT_PTR;
|
||||
gaddrof();
|
||||
/* source */
|
||||
vpushv(vtop - 2);
|
||||
vtop->type.t = VT_INT;
|
||||
vtop->type.t = VT_PTR;
|
||||
gaddrof();
|
||||
/* type size */
|
||||
vpushi(size);
|
||||
|
|
Loading…
Reference in a new issue