updated on Sat Jan 21 16:18:39 UTC 2012
[aur-mirror.git] / wp2latex / gcc4.4.1.patch
blobd5cd0b9f3999c585a1cbaffdd72006bcce427762
1 diff -aur wp2latex.348.orig/sources.cc/atoms/std_str.cc wp2latex.348.new/sources.cc/atoms/std_str.cc
2 --- wp2latex.348.orig/sources.cc/atoms/std_str.cc 2009-08-08 00:01:47.000000000 +0200
3 +++ wp2latex.348.new/sources.cc/atoms/std_str.cc 2009-08-08 00:05:57.000000000 +0200
4 @@ -30,7 +30,7 @@
5 char *StrChr(const char *s, int c)
7 if(s==NULL) return(NULL);
8 -return(strchr(s,c));
9 + return(strchr((char *)s,c));
12 #endif
13 @@ -58,7 +58,7 @@
14 char *StrStr(const char *str1,const char *str2)
16 if((str1==NULL)||(str2==NULL)) return(NULL);
17 - return(strstr(str1,str2));
18 + return(strstr((char *)str1,(char *)str2));
21 #endif