diff options
Diffstat (limited to 'plugins/HistoryStats/src/dlgconfigure.cpp')
-rw-r--r-- | plugins/HistoryStats/src/dlgconfigure.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HistoryStats/src/dlgconfigure.cpp b/plugins/HistoryStats/src/dlgconfigure.cpp index 33af5a88b1..55382f7e32 100644 --- a/plugins/HistoryStats/src/dlgconfigure.cpp +++ b/plugins/HistoryStats/src/dlgconfigure.cpp @@ -20,13 +20,13 @@ INT_PTR CALLBACK DlgConfigure::staticConfigureProc(HWND hDlg, UINT msg, WPARAM w switch (msg) {
case WM_INITDIALOG:
pDlg = new DlgConfigure(hDlg);
- SetWindowLong(hDlg, DWLP_USER, reinterpret_cast<LONG>(pDlg));
+ SetWindowLongPtr(hDlg, DWLP_USER, reinterpret_cast<LONG_PTR>(pDlg));
pDlg->onWMInitDialog();
return TRUE;
case WM_DESTROY:
delete pDlg;
- SetWindowLong(hDlg, DWLP_USER, 0);
+ SetWindowLongPtr(hDlg, DWLP_USER, 0);
break;
case PSM_CHANGED:
|