From 04ea225a48f0fe836361882cb0f78e7b99ee582f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 24 Feb 2014 12:47:23 +0000 Subject: more useless conversions removed git-svn-id: http://svn.miranda-ng.org/main/trunk@8254 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/WhenWasIt/src/dlg_handlers.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/WhenWasIt/src') diff --git a/plugins/WhenWasIt/src/dlg_handlers.cpp b/plugins/WhenWasIt/src/dlg_handlers.cpp index c67a16f68b..ccf8737629 100644 --- a/plugins/WhenWasIt/src/dlg_handlers.cpp +++ b/plugins/WhenWasIt/src/dlg_handlers.cpp @@ -496,7 +496,7 @@ INT_PTR CALLBACK DlgProcAddBirthday(HWND hWnd, UINT msg, WPARAM wParam, LPARAM l else SaveBirthday(hContact, 0, 0, 0, SAVE_MODE_DELETEALL); if (hBirthdaysDlg != NULL) - SendMessage(hBirthdaysDlg, WWIM_UPDATE_BIRTHDAY, (WPARAM)hContact, NULL); + SendMessage(hBirthdaysDlg, WWIM_UPDATE_BIRTHDAY, hContact, NULL); SendMessage(hWnd, WM_CLOSE, 0, 0); } @@ -594,7 +594,7 @@ int UpdateBirthdayEntry(HWND hList, MCONTACT hContact, int entry, int bShowAll, LVITEM item = { 0 }; item.mask = LVIF_TEXT | LVIF_PARAM; item.iItem = entry; - item.lParam = (LPARAM)hContact; + item.lParam = hContact; item.pszText = ptszAccName; if (bAdd) @@ -657,7 +657,7 @@ static LRESULT CALLBACK BirthdaysListSubclassProc(HWND hWnd, UINT msg, WPARAM wP item.iItem = i; ListView_GetItem(hWnd, &item); hContact = (MCONTACT)item.lParam; - CallService(MS_WWI_ADD_BIRTHDAY, (WPARAM)hContact, 0); + CallService(MS_WWI_ADD_BIRTHDAY, hContact, 0); } } break; -- cgit v1.2.3