diff -Nur trunk/src/tinygettext.cxx trunk.new/src/tinygettext.cxx --- trunk/src/tinygettext.cxx 2005-09-29 22:39:23.000000000 +0200 +++ trunk.new/src/tinygettext.cxx 2005-10-04 00:35:25.000000000 +0200 @@ -86,7 +86,7 @@ size_t in_size = text.size(); size_t out_size = 4*in_size; // Worst case scenario: ASCII -> UTF-32? std::string result(out_size, ' '); - const char* in_str = &text[0]; + char* in_str = &text[0]; char* out_str = &result[0]; // Try to convert the text.