Commit 208e6e6d authored by Alex Brainman's avatar Alex Brainman

exp/wingui: make sure it builds again

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4770041
parent a5a94f5d
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment