commit | 296f17af0a630550f980dab85363093e4be55eb0 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Fri May 02 00:15:42 2014 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri May 02 00:15:42 2014 +0000 |
tree | f847bc14a278ec56aa4da1cf09c6609d913492eb | |
parent | 7da319106906ad236a0b4502cbafdd8dff7b8a39 [diff] | |
parent | f83e644e2c8ea041d5864c25d0aa40cff579d2f7 [diff] |
Merge "Fix wchar.cpp MIPS narrowing conversion build failure."
diff --git a/tests/wchar_test.cpp b/tests/wchar_test.cpp index e98c144..468f09f 100644 --- a/tests/wchar_test.cpp +++ b/tests/wchar_test.cpp
@@ -89,7 +89,7 @@ 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];