blob: b5654f8c96e9e2ddc257c6380df17294a5300fa7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- raop_play-0.5.1.orig/aexcl/aexcl_play.cxx 2005-12-16 16:17:00.000000000 +0200
+++ raop_play-0.5.1.orig/aexcl/aexcl_play.cxx 2010-06-23 00:10:35.000000000 +0300
@@ -206,7 +206,7 @@
if(!aexd.agui->aex_chooser->size()) return -1;
if(aexd.agui->aex_chooser->value()<0) return -1;
rargv[1]=aexd.agui->aex_chooser->text(aexd.agui->aex_chooser->value());
- if(!(astr=strstr(rargv[1],IP_NAME_DELIM))) return -1;
+ if(!(astr=const_cast<char*>(strstr(rargv[1],IP_NAME_DELIM)))) return -1;
memset(ip,0,sizeof(ip));
memcpy(ip,rargv[1],((__u32)(astr-rargv[1])<sizeof(ip))?astr-rargv[1]:sizeof(ip));
rargv[1]=ip;
|