summaryrefslogtreecommitdiff
path: root/src/core/stdmsg/src/globals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stdmsg/src/globals.cpp')
-rw-r--r--src/core/stdmsg/src/globals.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdmsg/src/globals.cpp b/src/core/stdmsg/src/globals.cpp
index a56ee6f898..eb63672e11 100644
--- a/src/core/stdmsg/src/globals.cpp
+++ b/src/core/stdmsg/src/globals.cpp
@@ -124,7 +124,7 @@ static int dbaddedevent(WPARAM hContact, LPARAM lParam)
if (hContact) {
HWND h = WindowList_Find(g_dat.hMessageWindowList, hContact);
if (h)
- SendMessage(h, HM_DBEVENTADDED, (WPARAM)hContact, lParam);
+ SendMessage(h, HM_DBEVENTADDED, hContact, lParam);
}
return 0;
}