]> git.pld-linux.org Git - packages/icewm.git/blob - icewm-types.patch
- fix build
[packages/icewm.git] / icewm-types.patch
1 --- icewm-1.2.25.orig/src/ylocale.cc    2006-02-03 07:24:27.000000000 +0100
2 +++ icewm-1.2.25/src/ylocale.cc 2006-07-25 16:27:42.000000000 +0200
3 @@ -152,7 +152,7 @@
4      char * inbuf((char *) lStr), * outbuf((char *) uStr);
5      size_t inlen(lLen), outlen(4 * lLen);
6  
7 -    if (0 > (int) iconv(instance->toUnicode, const_cast<const char **>(&inbuf), &inlen, &outbuf, &outlen))
8 +    if (0 > (int) iconv(instance->toUnicode, &inbuf, &inlen, &outbuf, &outlen))
9          warn(_("Invalid multibyte string \"%s\": %s"), lStr, strerror(errno));
10  
11      *((YUChar *) outbuf) = 0;
This page took 0.064009 seconds and 4 git commands to generate.