History

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

Shinichiro Hamaji committed 17 years ago

Commit de3f0a41 parent 2e9b57b1 file · +2 −2Browse files

Unified · Split

tcc.c+2−2
@@ -6634,11 +6634,11 @@ void vstore(void) · 6633 unmodified lines
66346634
66356635 /* destination */
66366636 vpushv(vtop - 2);
6637− vtop->type.t = VT_INT;
6637+ vtop->type.t = VT_PTR;
66386638 gaddrof();
66396639 /* source */
66406640 vpushv(vtop - 2);
6641− vtop->type.t = VT_INT;
6641+ vtop->type.t = VT_PTR;
66426642 gaddrof();
66436643 /* type size */
66446644 vpushi(size);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t