]> git.saurik.com Git - wxWidgets.git/commitdiff
printf() format mismatch warning fixed
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 27 Mar 2004 14:38:27 +0000 (14:38 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 27 Mar 2004 14:38:27 +0000 (14:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26413 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/app.cpp

index dfb23fd94111d18d02ff4e5a909f9e761422bf3e..f92a72d827852b6c0dc64b98286bcbca81d3e583 100644 (file)
@@ -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
 }