Fix wchar.cpp MIPS narrowing conversion build failure.

Change-Id: Id9103c78958d60337dbdb807b11256c1b31c632a
This commit is contained in:
Elliott Hughes 2014-05-01 17:14:59 -07:00
parent 7da3191069
commit f83e644e2c

View File

@ -89,7 +89,7 @@ TEST(wchar, wctomb_wcrtomb) {
TEST(wchar, wcstombs_wcrtombs) {
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;
char bytes[BUFSIZ];