]> git.saurik.com Git - wxWidgets.git/commitdiff
cast size_t to unsigned long, not unsigned (even though there is no risk of truncatio...
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 13 Dec 2006 13:04:44 +0000 (13:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 13 Dec 2006 13:04:44 +0000 (13:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/unix/stackwalk.cpp

index fe968ea54eb589b7c1b44a6dfbe73a5fa297c0b7..62669bcf2d36235c1c0db6fd777c3e5d190e088e 100644 (file)
@@ -254,7 +254,8 @@ int wxStackWalker::InitFrames(wxStackFrame *arr, size_t n, void **addresses, cha
         }
         else
         {
-            wxLogDebug(_T("cannot read addr2line output for %u-th stack frame!"), unsigned(i));
+            wxLogDebug(_T("cannot read addr2line output for stack frame #%lu"),
+                       (unsigned long)i);
             return false;
         }