summaryrefslogtreecommitdiff
path: root/src/modules/clist/clcutils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/clist/clcutils.cpp')
-rw-r--r--src/modules/clist/clcutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/clist/clcutils.cpp b/src/modules/clist/clcutils.cpp
index 49946868c7..d5cb14fdbf 100644
--- a/src/modules/clist/clcutils.cpp
+++ b/src/modules/clist/clcutils.cpp
@@ -640,7 +640,7 @@ void fnNotifyNewContact(HWND hwnd, HCONTACT hContact)
nm.hdr.hwndFrom = hwnd;
nm.hdr.idFrom = GetDlgCtrlID(hwnd);
nm.flags = 0;
- nm.hItem = hContact;
+ nm.hItem = (HANDLE)hContact;
SendMessage(GetParent(hwnd), WM_NOTIFY, 0, (LPARAM) & nm);
}