summaryrefslogtreecommitdiff
blob: a70d214b4e0b8fbec0c7dc399ef2afd1d39e138d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ur mp3-0.10.1.orig/data.c mp3-0.10.1/data.c
--- mp3-0.10.1.orig/data.c	2006-05-16 20:31:09.000000000 +0300
+++ mp3-0.10.1/data.c	2009-08-11 12:22:35.000000000 +0300
@@ -420,7 +420,7 @@
   description=strdup(Description);
   if(Include) {
     do {
-      char *s=index(Include,'/');
+      char *s=const_cast<char*> (index(Include,'/'));
       int l=s ? s-Include : strlen(Include);
       if(l) {
         char **s=(char **)realloc(include,(incCount+2)*sizeof(char *));