From 371db973914f270432e914922b735e01279c5db8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 12 Feb 2014 14:12:44 +0000 Subject: another bunch of useless conversions died git-svn-id: http://svn.miranda-ng.org/main/trunk@8109 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/extraicons/BaseExtraIcon.cpp | 2 +- src/modules/extraicons/CallbackExtraIcon.cpp | 2 +- src/modules/extraicons/extraicons.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/extraicons') diff --git a/src/modules/extraicons/BaseExtraIcon.cpp b/src/modules/extraicons/BaseExtraIcon.cpp index 56631313e3..0d3106972c 100644 --- a/src/modules/extraicons/BaseExtraIcon.cpp +++ b/src/modules/extraicons/BaseExtraIcon.cpp @@ -68,7 +68,7 @@ void BaseExtraIcon::setDescIcon(const char *icon) void BaseExtraIcon::onClick(MCONTACT hContact) { if (OnClick != NULL) - OnClick((WPARAM)hContact, (LPARAM)ConvertToClistSlot(slot), onClickParam); + OnClick(hContact, (LPARAM)ConvertToClistSlot(slot), onClickParam); } int BaseExtraIcon::ClistSetExtraIcon(MCONTACT hContact, HANDLE hImage) diff --git a/src/modules/extraicons/CallbackExtraIcon.cpp b/src/modules/extraicons/CallbackExtraIcon.cpp index 73badf0fc9..5963b38e2b 100644 --- a/src/modules/extraicons/CallbackExtraIcon.cpp +++ b/src/modules/extraicons/CallbackExtraIcon.cpp @@ -58,7 +58,7 @@ void CallbackExtraIcon::applyIcon(MCONTACT hContact) if (needToRebuild) rebuildIcons(); - ApplyIcon((WPARAM)hContact, 0); + ApplyIcon(hContact, 0); } int CallbackExtraIcon::setIcon(int id, MCONTACT hContact, HANDLE icon) diff --git a/src/modules/extraicons/extraicons.cpp b/src/modules/extraicons/extraicons.cpp index 037c97e142..389b8a1e07 100644 --- a/src/modules/extraicons/extraicons.cpp +++ b/src/modules/extraicons/extraicons.cpp @@ -91,7 +91,7 @@ int Clist_SetExtraIcon(MCONTACT hContact, int slot, HANDLE hImage) if (icol == -1) return -1; - HANDLE hItem = (HANDLE)SendMessage(cli.hwndContactTree, CLM_FINDCONTACT, (WPARAM)hContact, 0); + HANDLE hItem = (HANDLE)SendMessage(cli.hwndContactTree, CLM_FINDCONTACT, hContact, 0); if (hItem == 0) return -1; @@ -332,7 +332,7 @@ void fnSetAllExtraIcons(MCONTACT hContact) if (pdnce == NULL) continue; - NotifyEventHooks(hEventExtraImageApplying, (WPARAM)hContact, 0); + NotifyEventHooks(hEventExtraImageApplying, hContact, 0); if (hcontgiven) break; Sleep(0); } -- cgit v1.2.3