diff options
author | ElzorFox <elzorfox@ya.ru> | 2017-03-19 16:50:38 +0500 |
---|---|---|
committer | ElzorFox <elzorfox@ya.ru> | 2017-03-19 16:50:38 +0500 |
commit | 100badfbc7d633078f25fb4b9ecd7350140e1dfa (patch) | |
tree | d3f21d045f6a5b1b66390f7dc7c143d1f160afd6 /protocols/VKontakte/src/vk_status.cpp | |
parent | fbe3739da349afbb2e42bc6c1ce5a20b657289ac (diff) |
VKontakte: fix warning C4840 in MSVS 2017
Diffstat (limited to 'protocols/VKontakte/src/vk_status.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_status.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_status.cpp b/protocols/VKontakte/src/vk_status.cpp index e7e335be2a..c723fad766 100644 --- a/protocols/VKontakte/src/vk_status.cpp +++ b/protocols/VKontakte/src/vk_status.cpp @@ -188,7 +188,7 @@ void CVkProto::RetrieveStatusMusic(const CMStringW &StatusMsg) code = "API.audio.setBroadcast();return null;";
else {
CMStringW codeformat("API.status.set({text:\"%s\"});return null;");
- code.AppendFormat(codeformat, wszOldStatusMsg);
+ code.AppendFormat(codeformat, wszOldStatusMsg.c_str());
}
m_bSetBroadcast = false;
Push(new AsyncHttpRequest(this, REQUEST_GET, "/method/execute.json", true, &CVkProto::OnReceiveStatus)
|