--- apps/demos/textomatic/TextWrapper.c++.orig 2005-08-31 15:00:00.000000000 -0500
+++ apps/demos/textomatic/TextWrapper.c++ 2005-08-31 15:01:10.000000000 -0500
if ( global_iconvCodeL2 == (iconv_t)-1 ||
- iconv(global_iconvCodeL2,&input,&inbytesleft,&output,&outbytesleft) == (size_t)-1 )
+ iconv(global_iconvCodeL2,const_cast<const char**>(&input),&inbytesleft,&output,&outbytesleft) == (size_t)-1 )
fprintf( stderr, "textomatic: iconv error.\n" );
if ( global_iconvCode28 == (iconv_t)-1 ||
- iconv( global_iconvCode28,&input,&inbytesleft,&output,&outbytesleft ) == (size_t)-1 )
+ iconv( global_iconvCode28,const_cast<const char**>(&input),&inbytesleft,&output,&outbytesleft ) == (size_t)-1 )
fprintf( stderr, "textomatic: iconv error.\n" );