summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/dlgconfigure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryStats/src/dlgconfigure.cpp')
-rw-r--r--plugins/HistoryStats/src/dlgconfigure.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryStats/src/dlgconfigure.cpp b/plugins/HistoryStats/src/dlgconfigure.cpp
index 55382f7e32..7edc52c919 100644
--- a/plugins/HistoryStats/src/dlgconfigure.cpp
+++ b/plugins/HistoryStats/src/dlgconfigure.cpp
@@ -15,7 +15,7 @@ bool DlgConfigure::m_bHookedEvent = false;
INT_PTR CALLBACK DlgConfigure::staticConfigureProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
- DlgConfigure* pDlg = reinterpret_cast<DlgConfigure*>(GetWindowLong(hDlg, DWLP_USER));
+ DlgConfigure* pDlg = reinterpret_cast<DlgConfigure*>(GetWindowLongPtr(hDlg, DWLP_USER));
switch (msg) {
case WM_INITDIALOG: