Fix for x86-64: The first and second arguments of memcpy must be pointers.

This commit is contained in:
Shinichiro Hamaji 2009-04-15 04:19:24 +09:00 committed by grischka
parent 2e9b57b6d0
commit de3f0a46fe

4
tcc.c
View File

@ -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);