Advertisement
Guest User

Untitled

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