summaryrefslogtreecommitdiffstats
path: root/libmpdemux/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/url.c')
-rw-r--r--libmpdemux/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/url.c b/libmpdemux/url.c
index d14f9ce056..c24f4dee45 100644
--- a/libmpdemux/url.c
+++ b/libmpdemux/url.c
@@ -43,7 +43,7 @@ url_new(const char* url) {
if( ptr1==NULL ) {
// Check for a special case: "sip:" (without "//"):
if (strstr(url, "sip:") == url) {
- ptr1 = &url[3]; // points to ':'
+ ptr1 = (char *)&url[3]; // points to ':'
jumpSize = 1;
} else {
mp_msg(MSGT_NETWORK,MSGL_V,"Not an URL!\n");