summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/dlgoption.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryStats/src/dlgoption.cpp')
-rw-r--r--plugins/HistoryStats/src/dlgoption.cpp2
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: