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 --- utils/std_string_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/std_string_utils.cpp b/utils/std_string_utils.cpp index c021df51e0..bac8957325 100644 --- a/utils/std_string_utils.cpp +++ b/utils/std_string_utils.cpp @@ -21,7 +21,7 @@ along with this program. If not, see . std::string utils::url::encode(const std::string &s) { - return (char*)ptrA(mir_urlEncode(s.c_str())); + return mir_urlEncode(s.c_str()); } std::string utils::url::decode(std::string data) -- cgit v1.2.3