diff options
author | Elliott Hughes <enh@google.com> | 2014-04-18 13:32:33 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-04-18 13:32:33 -0700 |
commit | 1b836ee6f8e5c0f61d67c1f014819a066366ab6f (patch) | |
tree | 95b0a2f8862ab866a65b78d7da9fe411011b79c8 /tests/wchar_test.cpp | |
parent | b88da06580a22d9a1ee5a1c573c49e89207bc71b (diff) | |
download | android_bionic-1b836ee6f8e5c0f61d67c1f014819a066366ab6f.tar.gz android_bionic-1b836ee6f8e5c0f61d67c1f014819a066366ab6f.tar.bz2 android_bionic-1b836ee6f8e5c0f61d67c1f014819a066366ab6f.zip |
Fix a wchar.wcstombs_wcrtombs test failure.
Looks like I screwed up a last-minute refactor and didn't re-run the tests.
Change-Id: I90a710ae66a313a9812859650aa0b4e8c6bc57f9
Diffstat (limited to 'tests/wchar_test.cpp')
-rw-r--r-- | tests/wchar_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/wchar_test.cpp b/tests/wchar_test.cpp index 0a63b0017..d5d27ed75 100644 --- a/tests/wchar_test.cpp +++ b/tests/wchar_test.cpp @@ -58,8 +58,8 @@ TEST(wchar, wctomb_wcrtomb) { } TEST(wchar, wcstombs_wcrtombs) { - wchar_t chars[] = { L'h', L'e', L'l', L'l', L'o', 0 }; - wchar_t bad_chars[] = { L'h', L'i', 666, 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', 666, 0 }; const wchar_t* src; char bytes[BUFSIZ]; |