--- range/detail/implementation_help.hpp Sat Apr 29 21:07:32 2006 +++ range/detail/implementation_help.hpp.my Sat Apr 29 21:07:39 2006 @@ -54,7 +54,7 @@ template< class Char > inline Char* str_end( Char* s ) { - return (Char*)str_end( s, s ); + return const_cast( str_end( s, s ) ); } template< class T, std::size_t sz >