diff --git a/include/wx/cppunit.h b/include/wx/cppunit.h index d961039112..32bf79fd92 100644 --- a/include/wx/cppunit.h +++ b/include/wx/cppunit.h @@ -91,7 +91,7 @@ inline std::ostream& operator<<(std::ostream& o, const wxString& s) { - return o << wxSafeConvertWX2MB(s); + return o << (const char *)wxSafeConvertWX2MB(s); }