summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_awaymsg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/src/modern_awaymsg.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_awaymsg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_awaymsg.cpp b/plugins/Clist_modern/src/modern_awaymsg.cpp
index b9b66caab0..d38758b403 100644
--- a/plugins/Clist_modern/src/modern_awaymsg.cpp
+++ b/plugins/Clist_modern/src/modern_awaymsg.cpp
@@ -48,10 +48,10 @@ static DWORD amRequestTick = 0;
static int amAddHandleToChain(HCONTACT hContact)
{
mir_cslockfull lck(amCS);
- if (amItems.find(hContact) != NULL)
+ if (amItems.find((HANDLE)hContact) != NULL)
return 0;
- amItems.insert(hContact);
+ amItems.insert((HANDLE)hContact);
lck.unlock();
SetEvent(hamProcessEvent);
return 1;