Index: src/pkg/syscall/zsyscall_windows_386.go |
=================================================================== |
--- a/src/pkg/syscall/zsyscall_windows_386.go |
+++ b/src/pkg/syscall/zsyscall_windows_386.go |
@@ -1323,7 +1323,7 @@ |
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 @@ |
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 { |