summaryrefslogtreecommitdiff
path: root/protocols/Steam/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src')
-rw-r--r--protocols/Steam/src/http_request.h4
-rw-r--r--protocols/Steam/src/stdafx.h1
2 files changed, 2 insertions, 3 deletions
diff --git a/protocols/Steam/src/http_request.h b/protocols/Steam/src/http_request.h
index 3d87defe43..7e8213b87d 100644
--- a/protocols/Steam/src/http_request.h
+++ b/protocols/Steam/src/http_request.h
@@ -80,7 +80,7 @@ public:
HttpUri &operator<<(const CHAR_PARAM &param)
{
- AppendFormat("%s=%s", param.szName, ptrA(mir_urlEncode(param.szValue)));
+ AppendFormat("%s=%s", param.szName, mir_urlEncode(param.szValue).c_str());
return *this;
}
};
@@ -269,7 +269,7 @@ __forceinline FormUrlEncodedContent* operator<<(FormUrlEncodedContent *content,
__forceinline FormUrlEncodedContent* operator<<(FormUrlEncodedContent *content, const CHAR_PARAM &param)
{
- content->AppendFormat("%s=%s", param.szName, ptrA(mir_urlEncode(param.szValue)));
+ content->AppendFormat("%s=%s", param.szName, mir_urlEncode(param.szValue).c_str());
return content;
}
diff --git a/protocols/Steam/src/stdafx.h b/protocols/Steam/src/stdafx.h
index 9eb34490c8..0783ee01e4 100644
--- a/protocols/Steam/src/stdafx.h
+++ b/protocols/Steam/src/stdafx.h
@@ -24,7 +24,6 @@
#include <m_skin.h>
#include <m_clist.h>
#include <m_genmenu.h>
-#include <m_string.h>
#include <m_imgsrvc.h>
#include <m_protocols.h>
#include <m_protosvc.h>