X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/105260e89ff48167ed02b36fe162ba95375b3dd6..cbc9abd7100a1af442223c081594d6c200f01a86:/tests/strings/crt.cpp diff --git a/tests/strings/crt.cpp b/tests/strings/crt.cpp index 70ad0d9fed..150ae7cab1 100644 --- a/tests/strings/crt.cpp +++ b/tests/strings/crt.cpp @@ -205,7 +205,7 @@ void CrtTestCase::Strpbrk() CPPUNIT_ASSERT_EQUAL( ',', *wxStrpbrk(strWX.c_str(), s.mb_str()) ); CPPUNIT_ASSERT_EQUAL( L',', *wxStrpbrk(strWX.c_str(), s.wc_str()) ); - CPPUNIT_ASSERT_EQUAL( (const char *)NULL, wxStrpbrk(strWX, "xyz") ); - CPPUNIT_ASSERT_EQUAL( (const wchar_t *)NULL, wxStrpbrk(strWX.c_str(), L"xyz") ); + CPPUNIT_ASSERT_EQUAL( (char *)NULL, wxStrpbrk(strWX, "xyz") ); + CPPUNIT_ASSERT_EQUAL( (wchar_t *)NULL, wxStrpbrk(strWX.c_str(), L"xyz") ); }