From 55a8ab47a15bfbfbd52d0d28368a72c0207a12a5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 16 Aug 2015 22:17:16 +0000 Subject: fixes warning & 64-bit issues git-svn-id: http://svn.miranda-ng.org/main/trunk@14972 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/NewXstatusNotify/src/xstatus.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/NewXstatusNotify/src/xstatus.cpp') 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; -- cgit v1.2.3