summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/ui_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IRCG/src/ui_utils.cpp')
-rw-r--r--protocols/IRCG/src/ui_utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IRCG/src/ui_utils.cpp b/protocols/IRCG/src/ui_utils.cpp
index feb85074f1..fa1f5dea2d 100644
--- a/protocols/IRCG/src/ui_utils.cpp
+++ b/protocols/IRCG/src/ui_utils.cpp
@@ -630,7 +630,7 @@ BOOL CCtrlClc::OnNotify(int, NMHDR *pnmh)
}
void CCtrlClc::AddContact(MCONTACT hContact)
-{ SendMessage(m_hwnd, CLM_ADDCONTACT, (WPARAM)hContact, 0);
+{ SendMessage(m_hwnd, CLM_ADDCONTACT, hContact, 0);
}
void CCtrlClc::AddGroup(HANDLE hGroup)
@@ -662,7 +662,7 @@ void CCtrlClc::Expand(HANDLE hItem, DWORD flags)
}
HANDLE CCtrlClc::FindContact(MCONTACT hContact)
-{ return (HANDLE)SendMessage(m_hwnd, CLM_FINDCONTACT, (WPARAM)hContact, 0);
+{ return (HANDLE)SendMessage(m_hwnd, CLM_FINDCONTACT, hContact, 0);
}
HANDLE CCtrlClc::FindGroup(HANDLE hGroup)