Fix wchar.cpp MIPS narrowing conversion build failure.
Change-Id: Id9103c78958d60337dbdb807b11256c1b31c632a
This commit is contained in:
parent
7da3191069
commit
f83e644e2c
@ -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];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user