summaryrefslogtreecommitdiff
path: root/plugins/ClientChangeNotify
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-03-12 13:26:44 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-03-12 13:26:44 +0000
commit263990471dfd375089cf7044d660a0aec62c5fb8 (patch)
tree74890cae94eee37102c8cf343a1f83bcfe9ff050 /plugins/ClientChangeNotify
parent5aca7788f891521104f8bed712672af236465cc1 (diff)
Some fixes for x64: SetWindowLong -> SetWindowLongPtr, GetWindowLong -> GetWindowLongPtr
git-svn-id: http://svn.miranda-ng.org/main/trunk@8572 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ClientChangeNotify')
-rw-r--r--plugins/ClientChangeNotify/src/CommonLibs/Options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ClientChangeNotify/src/CommonLibs/Options.cpp b/plugins/ClientChangeNotify/src/CommonLibs/Options.cpp
index 59bc65adfe..6c45e737c3 100644
--- a/plugins/ClientChangeNotify/src/CommonLibs/Options.cpp
+++ b/plugins/ClientChangeNotify/src/CommonLibs/Options.cpp
@@ -458,7 +458,7 @@ void COptItem_TreeCtrl::MemToWnd(HWND hWnd)
HWND hTreeView = GetDlgItem(hWnd, DlgItemID);
if (TreeFlags & TREECTRL_FLAG_HAS_CHECKBOXES)
{ // have to set this in run-time as it's specified in MSDN
- LONG Style = GetWindowLongPtr(hTreeView, GWL_STYLE);
+ LONG_PTR Style = GetWindowLongPtr(hTreeView, GWL_STYLE);
SetWindowLongPtr(hTreeView, GWL_STYLE, Style & ~TVS_CHECKBOXES);
SetWindowLongPtr(hTreeView, GWL_STYLE, Style | TVS_CHECKBOXES);
}