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:
parent
0b0efa9a67
commit
c847adaacf
@ -521,7 +521,7 @@ pascal static void wxMacAssertOutputHandler(OSType componentSignature, UInt32 op
|
||||
|
||||
#if 1
|
||||
// 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() ,
|
||||
exceptionStr.c_str() ,
|
||||
errorStr.c_str(),
|
||||
@ -530,7 +530,7 @@ pascal static void wxMacAssertOutputHandler(OSType componentSignature, UInt32 op
|
||||
#else
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user