summaryrefslogtreecommitdiff
path: root/plugins/Mwclist/clcitems.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Mwclist/clcitems.c')
-rw-r--r--plugins/Mwclist/clcitems.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Mwclist/clcitems.c b/plugins/Mwclist/clcitems.c
index f2aec5029e..8c2e20efb3 100644
--- a/plugins/Mwclist/clcitems.c
+++ b/plugins/Mwclist/clcitems.c
@@ -195,7 +195,7 @@ void AddContactToTree(HWND hwnd,struct ClcData *dat,HANDLE hContact,int updateTo
struct ClcGroup *group;
struct ClcContact * cont;
pdisplayNameCacheEntry cacheEntry;
- DWORD style=GetWindowLong(hwnd,GWL_STYLE);
+ DWORD style=GetWindowLongPtr(hwnd,GWL_STYLE);
WORD status;
char *szProto;
@@ -322,7 +322,7 @@ void DeleteItemFromTree(HWND hwnd,HANDLE hItem)
void RebuildEntireList(HWND hwnd,struct ClcData *dat)
{
// char *szProto;
- DWORD style=GetWindowLong(hwnd,GWL_STYLE);
+ DWORD style=GetWindowLongPtr(hwnd,GWL_STYLE);
HANDLE hContact;
struct ClcContact * cont;
struct ClcGroup *group;