On Thu, May 16, 2013 at 4:25 AM, <h...@apache.org> wrote: > Author: hdu > Date: Thu May 16 07:25:49 2013 > New Revision: 1483216 > > URL: http://svn.apache.org/r1483216 > Log: > fix constness issue causing a build breaker > > Modified: > openoffice/trunk/main/sal/inc/rtl/string.hxx > > Modified: openoffice/trunk/main/sal/inc/rtl/string.hxx > URL: > http://svn.apache.org/viewvc/openoffice/trunk/main/sal/inc/rtl/string.hxx?rev=1483216&r1=1483215&r2=1483216&view=diff > ============================================================================== > --- openoffice/trunk/main/sal/inc/rtl/string.hxx (original) > +++ openoffice/trunk/main/sal/inc/rtl/string.hxx Thu May 16 07:25:49 2013 > @@ -947,7 +947,7 @@ struct CStringHash > size_t operator()( const char* p) const { > size_t n = 0; > while( *p) > - n += 4*n + *static_cast<unsigned char*>(p++); > + n += 4*n + *static_cast<const unsigned char*>(p++);
This still breaks: ./../inc/rtl/string.hxx:950:53: error: invalid static_cast from type 'const char*' to type 'const unsigned char*' Regards --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org