From: Alex Brainman Date: Fri, 28 May 2010 18:47:09 +0000 (-0700) Subject: syscall: windows SysAlloc should use stdcall_raw not syscall X-Git-Tag: weekly.2010-06-09~68 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d5a8647d80fe8eeb19e4797b9d2a2235c41774c6;p=gostls13.git syscall: windows SysAlloc should use stdcall_raw not syscall R=golang-dev, rsc CC=golang-dev https://golang.org/cl/1382041 --- diff --git a/src/pkg/runtime/windows/mem.c b/src/pkg/runtime/windows/mem.c index 256ad9a7b4..09f39998c6 100644 --- a/src/pkg/runtime/windows/mem.c +++ b/src/pkg/runtime/windows/mem.c @@ -10,7 +10,7 @@ void* SysAlloc(uintptr n) { - return stdcall(VirtualAlloc, nil, n, 0x3000, 0x40); + return stdcall_raw(VirtualAlloc, nil, n, 0x3000, 0x40); } void