summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-05-29 15:08:06 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-05-29 15:08:06 +0000
commit21db74cd4ee5b13c65de94dfd4860bd9c05cc873 (patch)
tree8e5ea8572c345a8126e47d4b0c4f68686ecdd3c8 /protocols/SkypeWeb
parent2fcca210a1f695d7a932b873ae00dc702d42cfeb (diff)
compildation fix for VS2010
git-svn-id: http://svn.miranda-ng.org/main/trunk@13892 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb')
-rw-r--r--protocols/SkypeWeb/src/requests/capabilities.h2
-rw-r--r--protocols/SkypeWeb/src/requests/chatrooms.h4
2 files changed, 3 insertions, 3 deletions
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());