--- 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
@@ -77,7 +77,7 @@
     char    *output       = outbuf;
     //
     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" );
 	 (*(UCS2 *)outbuf)=0;
@@ -229,7 +229,7 @@
 	char    *output       = outbuf;
 	//
 	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" );
 	     (*(UCS2 *)outbuf)=0;
