fix gcc warnings about in printf format (partly modified patch 1500717)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -985,7 +985,7 @@ bool wxVariantDataWxObjectPtr::Write(wxSTD ostream& str) const
|
||||
|
||||
bool wxVariantDataWxObjectPtr::Write(wxString& str) const
|
||||
{
|
||||
str.Printf(wxT("%s(%p)"), GetType().c_str(), m_value);
|
||||
str.Printf(wxT("%s(%p)"), GetType().c_str(), wx_static_cast(void*, m_value));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user