summaryrefslogtreecommitdiff
path: root/sysdata_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'sysdata_windows.go')
-rw-r--r--sysdata_windows.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdata_windows.go b/sysdata_windows.go
index 021b80a..8d858a1 100644
--- a/sysdata_windows.go
+++ b/sysdata_windows.go
@@ -545,7 +545,7 @@ func (s *sysData) setIndeterminate() {
ret := make(chan uiret)
defer close(ret)
uitask <- &uimsg{
- call: _setWindowLong,
+ call: _setWindowLongPtr,
p: []uintptr{
uintptr(s.hwnd),
negConst(_GWL_STYLE),
@@ -592,7 +592,7 @@ func (s *sysData) setProgress(percent int) {
}
<-ret
uitask <- &uimsg{
- call: _setWindowLong,
+ call: _setWindowLongPtr,
p: []uintptr{
uintptr(s.hwnd),
negConst(_GWL_STYLE),