$NetBSD: patch-ab,v 1.8 2003/12/26 18:26:59 wiz Exp $ --- src/af/util/xp/ut_iconv.cpp.orig Thu Jul 17 15:12:55 2003 +++ src/af/util/xp/ut_iconv.cpp Thu Jul 17 15:16:40 2003 @@ -295,8 +295,8 @@ return (size_t)-1; - ICONV_CONST char ** buf = const_cast(inbuf); - return iconv( cd, buf, inbytesleft, outbuf, outbytesleft ); + //ICONV_CONST char ** buf = const_cast(inbuf); + return iconv( cd, inbuf, inbytesleft, outbuf, outbytesleft ); } int UT_iconv_close( UT_iconv_t cd )