diff options
Diffstat (limited to 'plugins/RecentContacts/RecentContacts.cpp')
-rw-r--r-- | plugins/RecentContacts/RecentContacts.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/RecentContacts/RecentContacts.cpp b/plugins/RecentContacts/RecentContacts.cpp index 94b13bd1a7..af3a21f501 100644 --- a/plugins/RecentContacts/RecentContacts.cpp +++ b/plugins/RecentContacts/RecentContacts.cpp @@ -183,7 +183,7 @@ INT_PTR CALLBACK ShowListMainDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM {
LASTUC_DLG_DATA *DlgDat;
- DlgDat = (LASTUC_DLG_DATA *)GetWindowLong(hDlg, GWLP_USERDATA);
+ DlgDat = (LASTUC_DLG_DATA *)GetWindowLongPtr(hDlg, GWLP_USERDATA);
HWND hList = GetDlgItem(hDlg, IDC_CONTACTS_LIST);
if (hList == NULL)
return FALSE;
@@ -213,7 +213,7 @@ INT_PTR CALLBACK ShowListMainDlgProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM ScreenToClient(hDlg, &p);
DlgDat->ListUCRect.right = p.x;
DlgDat->ListUCRect.bottom = p.y;
- SetWindowLong(hDlg, GWLP_USERDATA, (LONG)DlgDat);
+ SetWindowLongPtr(hDlg, GWLP_USERDATA, (LONG)DlgDat);
//set listview styles
ListView_SetExtendedListViewStyleEx(hList,
|