summaryrefslogtreecommitdiff
path: root/plugins/AvatarHistory/src/popup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AvatarHistory/src/popup.cpp')
-rw-r--r--plugins/AvatarHistory/src/popup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AvatarHistory/src/popup.cpp b/plugins/AvatarHistory/src/popup.cpp
index 97e7c594b4..42e2a4c87f 100644
--- a/plugins/AvatarHistory/src/popup.cpp
+++ b/plugins/AvatarHistory/src/popup.cpp
@@ -44,7 +44,7 @@ void InitPopups()
hPopupWindow = CreateWindowEx(WS_EX_TOOLWINDOW, _T("static"), _T(MODULE_NAME) _T("_PopupWindow"),
0, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, HWND_DESKTOP,
NULL, hInst, NULL);
- SetWindowLong(hPopupWindow, GWLP_WNDPROC, (LONG_PTR)PopupWndProc);
+ SetWindowLongPtr(hPopupWindow, GWLP_WNDPROC, (LONG_PTR)PopupWndProc);
}