diff options
author | George Hazan <george.hazan@gmail.com> | 2015-05-29 15:08:06 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-05-29 15:08:06 +0000 |
commit | 21db74cd4ee5b13c65de94dfd4860bd9c05cc873 (patch) | |
tree | 8e5ea8572c345a8126e47d4b0c4f68686ecdd3c8 /protocols/SkypeWeb/src/requests/chatrooms.h | |
parent | 2fcca210a1f695d7a932b873ae00dc702d42cfeb (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/src/requests/chatrooms.h')
-rw-r--r-- | protocols/SkypeWeb/src/requests/chatrooms.h | 4 |
1 files changed, 2 insertions, 2 deletions
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());
|