updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / intel2gas / strhandle.cc.patch
blob880a1c67275bc9a1689b75ee771f9c8621f61ef5
1 --- strhandle.cc.org 2000-06-20 21:36:58.000000000 +0200
2 +++ strhandle.cc 2010-01-14 11:33:54.695507689 +0100
3 @@ -24,7 +24,7 @@
4 /* Like str_cutat, but the beginning of str is copied to buffer at left */
5 char *str_splitat(char const * const str, char *left, char cut)
7 - char *pos = strchr(str,cut);
8 + char *pos = (char *)strchr(str,cut);
9 if (!pos) {
10 strcpy(left,str);
11 return NULL;