added static casts to void * for pointers used with format specifier to silence stupid gcc pedantic warning (bug 1500717)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-07-24 17:05:46 +00:00
parent 9674314028
commit 008202b7e9
2 changed files with 6 additions and 6 deletions

View File

@@ -1684,9 +1684,9 @@ bool wxFileConfigGroup::DeleteSubgroup(wxFileConfigGroup *pGroup)
wxLogTrace( FILECONF_TRACE_MASK,
_T(" (m_pLine) = prev: %p, this %p, next %p"),
m_pLine ? m_pLine->Prev() : NULL,
m_pLine,
m_pLine ? m_pLine->Next() : NULL );
m_pLine ? wx_static_cast(void*, m_pLine->Prev()) : 0,
wx_static_cast(void*, m_pLine),
m_pLine ? wx_static_cast(void*, m_pLine->Next()) : 0 );
wxLogTrace( FILECONF_TRACE_MASK,
_T(" text: '%s'"),
m_pLine ? m_pLine->Text().c_str() : wxEmptyString );