Merge "Fix wchar.cpp MIPS narrowing conversion build failure."

This commit is contained in:
Elliott Hughes 2014-05-02 00:15:42 +00:00 committed by Gerrit Code Review
commit 296f17af0a

View File

@ -89,7 +89,7 @@ TEST(wchar, wctomb_wcrtomb) {
TEST(wchar, wcstombs_wcrtombs) { TEST(wchar, wcstombs_wcrtombs) {
const wchar_t chars[] = { L'h', L'e', L'l', L'l', L'o', 0 }; const wchar_t chars[] = { L'h', L'e', L'l', L'l', L'o', 0 };
const wchar_t bad_chars[] = { L'h', L'i', 0xffffffff, 0 }; const wchar_t bad_chars[] = { L'h', L'i', static_cast<wchar_t>(0xffffffff), 0 };
const wchar_t* src; const wchar_t* src;
char bytes[BUFSIZ]; char bytes[BUFSIZ];