summaryrefslogtreecommitdiff
path: root/plugins/NewXstatusNotify/src/xstatus.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-08-16 22:17:16 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-08-16 22:17:16 +0000
commit55a8ab47a15bfbfbd52d0d28368a72c0207a12a5 (patch)
tree64f25a3488a439ca3aae9eb80d7735f9147013e9 /plugins/NewXstatusNotify/src/xstatus.cpp
parent769b537b5e1a99fc53aa7296fd2b21dc77a4071c (diff)
fixes warning & 64-bit issues
git-svn-id: http://svn.miranda-ng.org/main/trunk@14972 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;