--- src/Util.cc.orig 2003-08-04 19:07:05.000000000 -0700 +++ src/Util.cc 2003-08-04 19:07:39.000000000 -0700 @@ -267,12 +267,12 @@ } #define ICONV_BUFSIZE 2048 -string iconv_string(std::string s, char *to, char *from) { +string iconv_string(const std::string s, const char *to, const char *from) { iconv_t ic; static char buf[ICONV_BUFSIZE]; char *obuf = buf; size_t olen = ICONV_BUFSIZE - 1; - const char *ibuf = (char *) s.c_str(); + char *ibuf = (char *) s.c_str(); size_t ilen = strlen(ibuf); ic = iconv_open(to, from);