printf() format mismatch warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -521,7 +521,7 @@ pascal static void wxMacAssertOutputHandler(OSType componentSignature, UInt32 op
|
|||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
// flow into log
|
// flow into log
|
||||||
wxLogDebug( wxT("AssertMacros: %s %s %s file: %s, line: %d (value %d)\n"),
|
wxLogDebug( wxT("AssertMacros: %s %s %s file: %s, line: %ld (value %p)\n"),
|
||||||
assertionStr.c_str() ,
|
assertionStr.c_str() ,
|
||||||
exceptionStr.c_str() ,
|
exceptionStr.c_str() ,
|
||||||
errorStr.c_str(),
|
errorStr.c_str(),
|
||||||
@@ -530,7 +530,7 @@ pascal static void wxMacAssertOutputHandler(OSType componentSignature, UInt32 op
|
|||||||
#else
|
#else
|
||||||
|
|
||||||
wxOnAssert(fileNameStr, lineNumber , assertionStr ,
|
wxOnAssert(fileNameStr, lineNumber , assertionStr ,
|
||||||
wxString::Format( wxT("%s %s value (%d)") ,exceptionStr, errorStr , value ) ) ;
|
wxString::Format( wxT("%s %s value (%p)") ,exceptionStr, errorStr , value ) ) ;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user