>> -                    n += 4*n + *(p++);
>> +                    n += 4*n + *static_cast<unsigned char*>(p++);
> 
> This breaks on Linux:
> 
> Compiling: sal/osl/unx/file.cxx
> 
> In file included from ../../inc/rtl/ustring.hxx:33:0,
>                 from ../../inc/osl/file.hxx:33,
>                 from sal/osl/unx/file.cxx:27:
> ../../inc/rtl/string.hxx: In member function 'size_t 
> rtl::CStringHash::operator()(const char*) const':
> ../../inc/rtl/string.hxx:950:47: error: invalid static_cast from type 'const 
> char*' to type 'unsigned char*'
> dmake:  Error code 1, while making '../../unxlngx6/obj/file.obj'
> ERROR: error 65280 occurred while making sal/osl/unx

The same with gcc version 4.0.1 (Apple Inc. build 5494).
-- 
Pavel Janík




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to