summaryrefslogtreecommitdiff
path: root/protocols/Omegle/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Omegle/src/utils.cpp')
-rw-r--r--protocols/Omegle/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Omegle/src/utils.cpp b/protocols/Omegle/src/utils.cpp
index 09b6eed036..b259fa5933 100644
--- a/protocols/Omegle/src/utils.cpp
+++ b/protocols/Omegle/src/utils.cpp
@@ -24,7 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
std::string utils::url::encode(const std::string &s)
{
- return mir_ptr<char>( mir_urlEncode( s.c_str()));
+ return (char*)mir_ptr<char>( mir_urlEncode( s.c_str()));
}
void utils::text::replace_first( std::string* data, std::string from, std::string to )