summaryrefslogtreecommitdiff
path: root/plugins/NewXstatusNotify/src/xstatus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewXstatusNotify/src/xstatus.cpp')
-rw-r--r--plugins/NewXstatusNotify/src/xstatus.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NewXstatusNotify/src/xstatus.cpp b/plugins/NewXstatusNotify/src/xstatus.cpp
index e910f3155a..644134d4da 100644
--- a/plugins/NewXstatusNotify/src/xstatus.cpp
+++ b/plugins/NewXstatusNotify/src/xstatus.cpp
@@ -472,7 +472,7 @@ void LogXstatusChange(MCONTACT hContact, char *szProto, int xstatusType, TCHAR *
void AddXStatusEventThread(void *arg)
{
- MCONTACT hContact = (MCONTACT)arg;
+ MCONTACT hContact = (MCONTACT)(DWORD_PTR)arg;
char *szProto = GetContactProto(hContact);
if (szProto == NULL)
@@ -503,7 +503,7 @@ void AddXStatusEventThread(void *arg)
void AddSMsgEventThread(void *arg)
{
- MCONTACT hContact = (MCONTACT)arg;
+ MCONTACT hContact = (MCONTACT)(DWORD_PTR)arg;
STATUSMSGINFO smi;
smi.hContact = hContact;