Commit b163f7ce authored by Scott Tsai's avatar Scott Tsai
Browse files

libcore/.../rg_apache_harmony_xml_ExpatParser: in C++, the return type

of strchr(const char*) is 'const char*' instead of 'char *'.

C++ overloads string functions so that strchr(char*) returns 'char*' and
strchr(const char*) returns 'const char*'.  This patch fixes an "invalid
conversion from ‘const char*’ to ‘char*’" error when building with gcc-4.4.
parent d697232e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment