diff options
Diffstat (limited to 'plugins/HistoryStats/src/dlgoption_subbase.cpp')
-rw-r--r-- | plugins/HistoryStats/src/dlgoption_subbase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HistoryStats/src/dlgoption_subbase.cpp b/plugins/HistoryStats/src/dlgoption_subbase.cpp index 2b9a3935e8..820ed37645 100644 --- a/plugins/HistoryStats/src/dlgoption_subbase.cpp +++ b/plugins/HistoryStats/src/dlgoption_subbase.cpp @@ -14,7 +14,7 @@ INT_PTR CALLBACK DlgOption::SubBase::staticDlgProc(HWND hDlg, UINT msg, WPARAM w switch (msg) {
case WM_INITDIALOG:
pDlg = reinterpret_cast<SubBase*>(lParam);
- SetWindowLong(hDlg, DWLP_USER, reinterpret_cast<LONG>(pDlg));
+ SetWindowLongPtr(hDlg, DWLP_USER, reinterpret_cast<LONG_PTR>(pDlg));
pDlg->m_hWnd = hDlg;
pDlg->onWMInitDialog();
pDlg->loadSettings();
@@ -23,7 +23,7 @@ INT_PTR CALLBACK DlgOption::SubBase::staticDlgProc(HWND hDlg, UINT msg, WPARAM w case WM_DESTROY:
pDlg->onWMDestroy();
delete pDlg;
- SetWindowLong(hDlg, DWLP_USER, 0);
+ SetWindowLongPtr(hDlg, DWLP_USER, 0);
return TRUE;
}
|