summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_queue.cpp
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2017-03-19 16:50:38 +0500
committerElzorFox <elzorfox@ya.ru>2017-03-19 16:50:38 +0500
commit100badfbc7d633078f25fb4b9ecd7350140e1dfa (patch)
treed3f21d045f6a5b1b66390f7dc7c143d1f160afd6 /protocols/VKontakte/src/vk_queue.cpp
parentfbe3739da349afbb2e42bc6c1ce5a20b657289ac (diff)
VKontakte: fix warning C4840 in MSVS 2017
Diffstat (limited to 'protocols/VKontakte/src/vk_queue.cpp')
-rw-r--r--protocols/VKontakte/src/vk_queue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_queue.cpp b/protocols/VKontakte/src/vk_queue.cpp
index ba844d1436..b190d080c7 100644
--- a/protocols/VKontakte/src/vk_queue.cpp
+++ b/protocols/VKontakte/src/vk_queue.cpp
@@ -40,7 +40,7 @@ void CVkProto::ExecuteRequest(AsyncHttpRequest *pReq)
pReq->szUrl = pReq->m_szUrl.GetBuffer();
if (!pReq->m_szParam.IsEmpty()) {
if (pReq->requestType == REQUEST_GET) {
- str.Format("%s?%s", pReq->m_szUrl, pReq->m_szParam);
+ str.Format("%s?%s", pReq->m_szUrl.c_str(), pReq->m_szParam.c_str());
pReq->szUrl = str.GetBuffer();
}
else {