diff options
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/syscall_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/syscall_windows.go b/src/runtime/syscall_windows.go index 9c60fdc8b9..842487601d 100644 --- a/src/runtime/syscall_windows.go +++ b/src/runtime/syscall_windows.go @@ -429,5 +429,5 @@ func syscall_syscalln(fn, n uintptr, args ...uintptr) (r1, r2, err uintptr) { // but it copies the return values into the new M's // so we can read them from there. c = &getg().m.winsyscall - return c.R1, c.R2, uintptr(errno) + return c.R1, c.R2, uintptr(uint32(errno)) } |
