1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/x11-wm/icewm/files/patch-src_ylocale.cc
Martin Wilke 3394f6d306 - Update to 1.2.27
PR:		ports/101599
Submitted by:	KATO Tsuguru <tkato432(at)yahoo.com>
Approved by:	krion (mentor)
2006-08-10 20:53:44 +00:00

13 lines
439 B
C++

--- src/ylocale.cc.orig Mon Aug 7 03:38:14 2006
+++ src/ylocale.cc Tue Aug 8 01:00:33 2006
@@ -149,7 +149,8 @@
return NULL;
YUChar * uStr(new YUChar[lLen + 1]);
- char * inbuf((char *) lStr), * outbuf((char *) uStr);
+ const char * inbuf((char *) lStr);
+ char * outbuf((char *) uStr);
size_t inlen(lLen), outlen(4 * lLen);
if (0 > (int) iconv(instance->toUnicode, &inbuf, &inlen, &outbuf, &outlen))