diff --git a/v2/internal/platform/win32/consts.go b/v2/internal/platform/win32/consts.go index 2fe528fab..0490aee3d 100644 --- a/v2/internal/platform/win32/consts.go +++ b/v2/internal/platform/win32/consts.go @@ -121,7 +121,7 @@ func GetModuleHandle(value uintptr) uintptr { } func GetMessage(msg *MSG) uintptr { - rt, _, _ := procGetMessageW.Call(uintptr(unsafe.Pointer(&msg)), 0, 0, 0) + rt, _, _ := procGetMessageW.Call(uintptr(unsafe.Pointer(msg)), 0, 0, 0) return rt }