Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- src/ylocale.cc.orig 2010-11-03 00:16:43.893618697 +0100
- +++ src/ylocale.cc 2010-11-03 00:18:15.667176514 +0100
- @@ -149,7 +149,8 @@
- return NULL;
- YUChar * uStr(new YUChar[lLen + 1]);
- - char * inbuf((char *) lStr), * outbuf((char *) uStr);
- + const char * inbuf((const char *) lStr);
- + char * outbuf((char *) uStr);
- size_t inlen(lLen), outlen(4 * lLen);
- if (0 > (int) iconv(instance->toUnicode, &inbuf, &inlen, &outbuf, &outlen))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement