diff options
Diffstat (limited to 'src/pkg/syscall/zsyscall_windows_amd64.go')
-rw-r--r-- | src/pkg/syscall/zsyscall_windows_amd64.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pkg/syscall/zsyscall_windows_amd64.go b/src/pkg/syscall/zsyscall_windows_amd64.go index d23c2311a..353a6fd98 100644 --- a/src/pkg/syscall/zsyscall_windows_amd64.go +++ b/src/pkg/syscall/zsyscall_windows_amd64.go @@ -1,4 +1,4 @@ -// mksyscall_windows.pl syscall_windows.go security_windows.go syscall_windows_amd64.go +// go build mksyscall_windows.go && ./mksyscall_windows syscall_windows.go security_windows.go syscall_windows_amd64.go // MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT package syscall @@ -1323,7 +1323,7 @@ func Getsockopt(s Handle, level int32, optname int32, optval *byte, optlen *int3 return } -func bind(s Handle, name uintptr, namelen int32) (err error) { +func bind(s Handle, name unsafe.Pointer, namelen int32) (err error) { r1, _, e1 := Syscall(procbind.Addr(), 3, uintptr(s), uintptr(name), uintptr(namelen)) if r1 == socket_error { if e1 != 0 { @@ -1335,7 +1335,7 @@ func bind(s Handle, name uintptr, namelen int32) (err error) { return } -func connect(s Handle, name uintptr, namelen int32) (err error) { +func connect(s Handle, name unsafe.Pointer, namelen int32) (err error) { r1, _, e1 := Syscall(procconnect.Addr(), 3, uintptr(s), uintptr(name), uintptr(namelen)) if r1 == socket_error { if e1 != 0 { |