From d6eee2018898f2442883a0aa77ad095b75572cfb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 27 Aug 2015 15:15:33 +0000 Subject: fix for 64-bit issues & warnings git-svn-id: http://svn.miranda-ng.org/main/trunk@15043 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Sessions/Src/Options.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/Sessions') diff --git a/plugins/Sessions/Src/Options.cpp b/plugins/Sessions/Src/Options.cpp index 4618c1661d..cb71969c54 100644 --- a/plugins/Sessions/Src/Options.cpp +++ b/plugins/Sessions/Src/Options.cpp @@ -233,7 +233,7 @@ static INT_PTR CALLBACK OptionsProc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM l switch (GetDlgCtrlID((HWND)lparam)) { case IDC_OPCLIST: SetBkMode((HDC)wparam, TRANSPARENT); - return (BOOL)CreateSolidBrush(GetSysColor(COLOR_3DFACE)); + return (INT_PTR)CreateSolidBrush(GetSysColor(COLOR_3DFACE)); } break; @@ -271,7 +271,7 @@ static INT_PTR CALLBACK OptionsProc(HWND hdlg, UINT msg, WPARAM wparam, LPARAM l case CLN_CHECKCHANGED: if (((LPNMHDR)lparam)->idFrom == IDC_EMCLIST) { - int iSelection = (int)((NMCLISTCONTROL *)lparam)->hItem; + int iSelection = (INT_PTR)((NMCLISTCONTROL *)lparam)->hItem; MCONTACT hContact = db_find_first(); for (; hContact; hContact = db_find_next(hContact)) if (SendDlgItemMessage(hdlg, IDC_EMCLIST, CLM_FINDCONTACT, hContact, 0) == iSelection) -- cgit v1.2.3