X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0646b21922772e5dec7f8f31c1a22d2d0dec6ec7..35bb3cb155917b4287fb2a3841bea22919a3d499:/tests/streams/textstreamtest.cpp diff --git a/tests/streams/textstreamtest.cpp b/tests/streams/textstreamtest.cpp index 13c9804334..efc8ee8d33 100644 --- a/tests/streams/textstreamtest.cpp +++ b/tests/streams/textstreamtest.cpp @@ -265,7 +265,7 @@ void TextStreamTestCase::TestInput(const wxMBConv& conv, CPPUNIT_ASSERT_EQUAL( WXSIZEOF(txtWchar), temp.length() ); - CPPUNIT_ASSERT_EQUAL( 0, memcmp(txtWchar, temp.c_str(), sizeof(txtWchar)) ); + CPPUNIT_ASSERT_EQUAL( 0, memcmp(txtWchar, temp.wc_str(), sizeof(txtWchar)) ); } #endif // wxUSE_UNICODE