From: Michael Wetherell Date: Thu, 7 Apr 2005 01:29:40 +0000 (+0000) Subject: Redo the previous warning fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/573800c5aacd891afee6a8dd38a5ffe367d32f68 Redo the previous warning fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/regex/wxregextest.cpp b/tests/regex/wxregextest.cpp index 39d61a1dda..1d9c75acc8 100644 --- a/tests/regex/wxregextest.cpp +++ b/tests/regex/wxregextest.cpp @@ -169,7 +169,7 @@ void RegExReplaceTestCase::runTest() msgstr.Printf(_T("returns '%s' (expected '%s')"), text.c_str(), m_expected.c_str()); CPPUNIT_ASSERT_MESSAGE((const char*)msgstr.mb_str(), text == m_expected); - msgstr << _T("matches ") << nRepl << _T(" times (expected ") << m_count << _T(")"); + msgstr.Printf(_T("matches %d times (expected %d)"), (int)nRepl, (int)m_count); CPPUNIT_ASSERT_MESSAGE((const char*)msgstr.mb_str(), nRepl == m_count); }