From ac6607c5f76566c2c840ca3955a22448738df9b3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 28 Jan 2019 15:51:04 +0300 Subject: mir_urlDecode & mir_urlEncode to return CMStringA --- protocols/Twitter/src/http.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Twitter') diff --git a/protocols/Twitter/src/http.cpp b/protocols/Twitter/src/http.cpp index 892dca34ca..200a3d0adb 100644 --- a/protocols/Twitter/src/http.cpp +++ b/protocols/Twitter/src/http.cpp @@ -21,5 +21,5 @@ along with this program. If not, see . std::string http::url_encode(const std::string &s) { - return (char*)ptrA(mir_urlEncode(s.c_str())); + return mir_urlEncode(s.c_str()); } -- cgit v1.2.3