diff options
Diffstat (limited to 'plugins/HistoryStats/src/dlgoption.cpp')
-rw-r--r-- | plugins/HistoryStats/src/dlgoption.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryStats/src/dlgoption.cpp b/plugins/HistoryStats/src/dlgoption.cpp index b5dc1a43de..2bfbf7e019 100644 --- a/plugins/HistoryStats/src/dlgoption.cpp +++ b/plugins/HistoryStats/src/dlgoption.cpp @@ -11,7 +11,7 @@ INT_PTR CALLBACK DlgOption::staticDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
- DlgOption* pDlg = reinterpret_cast<DlgOption*>(GetWindowLong(hDlg, DWLP_USER));
+ DlgOption* pDlg = reinterpret_cast<DlgOption*>(GetWindowLongPtr(hDlg, DWLP_USER));
switch (msg) {
case WM_INITDIALOG:
|