summaryrefslogtreecommitdiff
path: root/src/modules/extraicons/extraicons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extraicons/extraicons.cpp')
-rw-r--r--src/modules/extraicons/extraicons.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}