summaryrefslogtreecommitdiff
path: root/plugins/CmdLine
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CmdLine')
-rw-r--r--plugins/CmdLine/src/mimcmd_handlers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/CmdLine/src/mimcmd_handlers.cpp b/plugins/CmdLine/src/mimcmd_handlers.cpp
index 35530e8ec0..05f8c0e839 100644
--- a/plugins/CmdLine/src/mimcmd_handlers.cpp
+++ b/plugins/CmdLine/src/mimcmd_handlers.cpp
@@ -1286,7 +1286,7 @@ int ContactMatchSearch(MCONTACT hContact, char *contact, char *id, char *account
void __cdecl OpenMessageWindowThread(void *data)
{
- MCONTACT hContact = (MCONTACT)data;
+ MCONTACT hContact = (UINT_PTR)data;
if (hContact) {
CallServiceSync(MS_MSG_SENDMESSAGET, hContact, 0);
}