diff --git a/ui/app/os_windows.go b/ui/app/os_windows.go index a71e3459..5cc43d30 100644 --- a/ui/app/os_windows.go +++ b/ui/app/os_windows.go @@ -695,7 +695,7 @@ func setProcessDPIAware() { } func setCapture(hwnd syscall.Handle) syscall.Handle { - r, _, _ := _SetCapture.Call(uintptr(unsafe.Pointer(hwnd))) + r, _, _ := _SetCapture.Call(uintptr(hwnd)) return syscall.Handle(r) }