summaryrefslogtreecommitdiff
path: root/Plugins/avatarhistory/popup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/avatarhistory/popup.cpp')
-rw-r--r--Plugins/avatarhistory/popup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/avatarhistory/popup.cpp b/Plugins/avatarhistory/popup.cpp
index 116833f..f67d07f 100644
--- a/Plugins/avatarhistory/popup.cpp
+++ b/Plugins/avatarhistory/popup.cpp
@@ -47,7 +47,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)PopupWndProc);
+ SetWindowLong(hPopupWindow, GWLP_WNDPROC, (LONG_PTR)PopupWndProc);
}