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/Clist_nicer/src/Coolsb/coolsblib.cpp | 2 +- plugins/Clist_nicer/src/Coolsb/coolscroll.cpp | 2 +- plugins/Clist_nicer/src/clistevents.cpp | 2 +- plugins/Clist_nicer/src/clui.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/Clist_nicer') diff --git a/plugins/Clist_nicer/src/Coolsb/coolsblib.cpp b/plugins/Clist_nicer/src/Coolsb/coolsblib.cpp index 4fbe772dec..87c426d6dc 100644 --- a/plugins/Clist_nicer/src/Coolsb/coolsblib.cpp +++ b/plugins/Clist_nicer/src/Coolsb/coolsblib.cpp @@ -111,7 +111,7 @@ static void RedrawNonClient(HWND hwnd, BOOL fFrameChanged) DeleteObject(hrgn1); DeleteObject(hrgn2);*/ - SendMessage(hwnd, WM_NCPAINT, (WPARAM)1, 0); + SendMessage(hwnd, WM_NCPAINT, 1, 0); } else { diff --git a/plugins/Clist_nicer/src/Coolsb/coolscroll.cpp b/plugins/Clist_nicer/src/Coolsb/coolscroll.cpp index c1547121d9..cb2490ed44 100644 --- a/plugins/Clist_nicer/src/Coolsb/coolscroll.cpp +++ b/plugins/Clist_nicer/src/Coolsb/coolscroll.cpp @@ -2432,7 +2432,7 @@ static LRESULT MouseMove(SCROLLWND *sw, HWND hwnd, WPARAM wParam, LPARAM lParam) //remember what size the USER set the button to sbut->nSizeReserved = sbut->nSize; - NCPaint(sw, hwnd, (WPARAM)1, 0); + NCPaint(sw, hwnd, 1, 0); return 0; } } diff --git a/plugins/Clist_nicer/src/clistevents.cpp b/plugins/Clist_nicer/src/clistevents.cpp index 56ac5500b9..6ac09b985a 100644 --- a/plugins/Clist_nicer/src/clistevents.cpp +++ b/plugins/Clist_nicer/src/clistevents.cpp @@ -330,7 +330,7 @@ struct CListEvent* AddEvent(CLISTEVENT *cle) } // Removes an event from the contact list's queue -// wParam=(WPARAM)(HANDLE)hContact +// wParam=(MCONTACT)hContact // lParam=(LPARAM)(HANDLE)hDbEvent // Returns 0 if the event was successfully removed, or nonzero if the event was not found int RemoveEvent(MCONTACT hContact, HANDLE hDbEvent) diff --git a/plugins/Clist_nicer/src/clui.cpp b/plugins/Clist_nicer/src/clui.cpp index 763cb363cb..df05b2397d 100644 --- a/plugins/Clist_nicer/src/clui.cpp +++ b/plugins/Clist_nicer/src/clui.cpp @@ -723,7 +723,7 @@ static int ServiceParamsOK(ButtonItem *item, WPARAM *wParam, LPARAM *lParam, MCO if (item->dwFlags & BUTTON_PASSHCONTACTW) *wParam = hContact; else if (item->dwFlags & BUTTON_PASSHCONTACTL) - *lParam = (LPARAM)hContact; + *lParam = hContact; } return 1; } -- cgit v1.2.3