From 172d83f4ea63dbdd9fcad9e59e64f758e112cc9d Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 13 Dec 2006 13:04:44 +0000 Subject: [PATCH] cast size_t to unsigned long, not unsigned (even though there is no risk of truncation here, it's still better practice) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/stackwalk.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/unix/stackwalk.cpp b/src/unix/stackwalk.cpp index fe968ea54e..62669bcf2d 100644 --- a/src/unix/stackwalk.cpp +++ b/src/unix/stackwalk.cpp @@ -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; } -- 2.45.2