diff options
Diffstat (limited to 'libgo/go/os/env_windows.go')
-rw-r--r-- | libgo/go/os/env_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/os/env_windows.go b/libgo/go/os/env_windows.go index a45d79be32a..e6ddc4065fe 100644 --- a/libgo/go/os/env_windows.go +++ b/libgo/go/os/env_windows.go @@ -119,7 +119,7 @@ func init() { if e != 0 { return } - defer syscall.LocalFree(uint32(uintptr(unsafe.Pointer(argv)))) + defer syscall.LocalFree(syscall.Handle(uintptr(unsafe.Pointer(argv)))) Args = make([]string, argc) for i, v := range (*argv)[:argc] { Args[i] = string(syscall.UTF16ToString((*v)[:])) |