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:
Vadim Zeitlin
2006-06-25 23:47:50 +00:00
parent 669c595daf
commit d595fb29c9
4 changed files with 11 additions and 8 deletions

View File

@@ -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;
}