summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2017-07-22 19:37:25 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2017-07-22 19:37:25 +1000
commit87b333f749a810cdd9f58be80c257d5dcd727dad (patch)
tree8716a3410a57ff1fb51c6e59644e78eb65e617d0 /sal
parentf509b2830d21e8032647e6438054b2594fa2440f (diff)
osl: fix w32/backtrace.cxx comment
Change-Id: Id6f941a9ef62827d7e4aa1d8ad4af0494470ea8e
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/w32/backtrace.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sal/osl/w32/backtrace.cxx b/sal/osl/w32/backtrace.cxx
index b559c5e87fc0..a8a4cf445e9f 100644
--- a/sal/osl/w32/backtrace.cxx
+++ b/sal/osl/w32/backtrace.cxx
@@ -36,11 +36,11 @@ OUString osl::detail::backtraceAsString(sal_uInt32 maxDepth)
SymInitialize( hProcess, nullptr, true );
std::unique_ptr<void*[]> aStack(new void*[ maxDepth ]);
- // <https://msdn.microsoft.com/en-us/library/windows/desktop/
- // bb204633(v=vs.85).aspx> "CaptureStackBackTrace function" claims that you
- // "can capture up to MAXUSHORT frames", and on Windows Server 2003 and
- // Windows XP it even "must be less than 63", but assume that a too large
- // input value is clamped internally, instead of resulting in an error:
+ // https://msdn.microsoft.com/en-us/library/windows/desktop/bb204633.aspx
+ // "CaptureStackBackTrace function" claims that you "can capture up to
+ // MAXUSHORT frames", and on Windows Server 2003 and Windows XP it even
+ // "must be less than 63", but assume that a too large input value is
+ // clamped internally, instead of resulting in an error:
sal_uInt32 nFrames = CaptureStackBackTrace( 0, static_cast<ULONG>(maxDepth), aStack.get(), nullptr );
SYMBOL_INFO * pSymbol;