From 21db74cd4ee5b13c65de94dfd4860bd9c05cc873 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 29 May 2015 15:08:06 +0000 Subject: compildation fix for VS2010 git-svn-id: http://svn.miranda-ng.org/main/trunk@13892 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/requests/capabilities.h | 2 +- protocols/SkypeWeb/src/requests/chatrooms.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/SkypeWeb/src') diff --git a/protocols/SkypeWeb/src/requests/capabilities.h b/protocols/SkypeWeb/src/requests/capabilities.h index ef0da77f92..5ac258db10 100644 --- a/protocols/SkypeWeb/src/requests/capabilities.h +++ b/protocols/SkypeWeb/src/requests/capabilities.h @@ -36,7 +36,7 @@ public: JSONNode privateInfo(JSON_NODE); privateInfo.set_name("privateInfo"); - privateInfo.push_back(JSONNode("epname", T2Utf(compName))); + privateInfo.push_back(JSONNode("epname", (char*)T2Utf(compName))); JSONNode publicInfo(JSON_NODE); publicInfo.set_name("publicInfo"); diff --git a/protocols/SkypeWeb/src/requests/chatrooms.h b/protocols/SkypeWeb/src/requests/chatrooms.h index fa91a712a9..84b58e68e9 100644 --- a/protocols/SkypeWeb/src/requests/chatrooms.h +++ b/protocols/SkypeWeb/src/requests/chatrooms.h @@ -52,7 +52,7 @@ public: node.push_back(JSONNode("clientmessageid", (long)timestamp)); node.push_back(JSONNode("messagetype", "RichText")); node.push_back(JSONNode("contenttype", "text")); - node.push_back(JSONNode("content", ptrA(mir_utf8encode(message)))); + node.push_back(JSONNode("content", (char*)ptrA(mir_utf8encode(message)))); Body << VALUE(node.write().c_str()); } @@ -73,7 +73,7 @@ public: node.push_back(JSONNode("clientmessageid", (long)timestamp)); node.push_back(JSONNode("messagetype", "RichText")); node.push_back(JSONNode("contenttype", "text")); - node.push_back(JSONNode("content", ptrA(mir_utf8encode(message)))); + node.push_back(JSONNode("content", (char*)ptrA(mir_utf8encode(message)))); node.push_back(JSONNode("skypeemoteoffset", 4)); Body << VALUE(node.write().c_str()); -- cgit v1.2.3