aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2011-07-19 13:18:21 +1000
committerAlex Brainman <alex.brainman@gmail.com>2011-07-19 13:18:21 +1000
commit208e6e6dfc542bd3c9a8a1ac520c66683ab871aa (patch)
treed8a760b2be8e2d5462316536b6df0f0b01a40471
parenta5a94f5d57842e0914767cbe78fd821bfd291c9f (diff)
downloadgo-208e6e6dfc542bd3c9a8a1ac520c66683ab871aa.tar.gz
go-208e6e6dfc542bd3c9a8a1ac520c66683ab871aa.zip
exp/wingui: make sure it builds again
R=golang-dev, r CC=golang-dev https://golang.org/cl/4770041
-rw-r--r--src/pkg/exp/wingui/winapi.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/exp/wingui/winapi.go b/src/pkg/exp/wingui/winapi.go
index fb0d610097..fdf9d9ee0b 100644
--- a/src/pkg/exp/wingui/winapi.go
+++ b/src/pkg/exp/wingui/winapi.go
@@ -9,7 +9,7 @@ import (
"unsafe"
)
-func loadDll(fname string) uint32 {
+func loadDll(fname string) syscall.Handle {
h, e := syscall.LoadLibrary(fname)
if e != 0 {
abortf("LoadLibrary(%s) failed with err=%d.\n", fname, e)
@@ -17,7 +17,7 @@ func loadDll(fname string) uint32 {
return h
}
-func getSysProcAddr(m uint32, pname string) uintptr {
+func getSysProcAddr(m syscall.Handle, pname string) uintptr {
p, e := syscall.GetProcAddress(m, pname)
if e != 0 {
abortf("GetProcAddress(%s) failed with err=%d.\n", pname, e)