mirror of
https://github.com/golang/go
synced 2024-10-03 06:21:21 -06:00
syscall: windows SysAlloc should use stdcall_raw not syscall
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/1382041
This commit is contained in:
parent
12923e43f2
commit
d5a8647d80
@ -10,7 +10,7 @@
|
|||||||
void*
|
void*
|
||||||
SysAlloc(uintptr n)
|
SysAlloc(uintptr n)
|
||||||
{
|
{
|
||||||
return stdcall(VirtualAlloc, nil, n, 0x3000, 0x40);
|
return stdcall_raw(VirtualAlloc, nil, n, 0x3000, 0x40);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user