commit | b163f7cee9e89af5b9c7806f1d931943fef4ec81 | [log] [tgz] |
---|---|---|
author | Scott Tsai <scottt.tw@gmail.com> | Tue Mar 24 06:28:31 2009 +0800 |
committer | Scott Tsai <scottt.tw@gmail.com> | Tue Mar 24 06:28:31 2009 +0800 |
tree | 0583961095abe15939a7a259e4fed595bde53a8e | |
parent | d697232e8b2e0432e60db427735d603ea528c113 [diff] |
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.