diff options
Diffstat (limited to 'plugins/Utils/mir_options_notify.cpp')
-rw-r--r-- | plugins/Utils/mir_options_notify.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Utils/mir_options_notify.cpp b/plugins/Utils/mir_options_notify.cpp index ddc0a548c1..b2ee76a512 100644 --- a/plugins/Utils/mir_options_notify.cpp +++ b/plugins/Utils/mir_options_notify.cpp @@ -51,7 +51,7 @@ BOOL CALLBACK SaveOptsDlgProc(OptPageControl *controls, int controlsSize, HWND h case WM_USER+100:
{
HANDLE hNotify = (HANDLE)lParam;
- SetWindowLong(hwndDlg, GWL_USERDATA, lParam);
+ SetWindowLongPtr(hwndDlg, GWL_USERDATA, lParam);
TranslateDialogDefault(hwndDlg);
@@ -140,7 +140,7 @@ BOOL CALLBACK SaveOptsDlgProc(OptPageControl *controls, int controlsSize, HWND h {
case PSN_APPLY:
{
- HANDLE hNotify = (HANDLE)GetWindowLong(hwndDlg, GWL_USERDATA);
+ HANDLE hNotify = (HANDLE)GetWindowLongPtr(hwndDlg, GWL_USERDATA);
TCHAR tmp[1024];
for (int i = 0 ; i < controlsSize ; i++)
|