Commit 866b0fb5 by Abseil Team Committed by Copybara-Service

Add explicit int -> uintptr_t conversion in stacktrace code for aarch64

PiperOrigin-RevId: 580515441
Change-Id: I64999b11f1d83d56ed3680cb2d41c8a1d5f389de
parent bb7bbb12
......@@ -193,7 +193,7 @@ static int UnwindImpl(void** result, int* sizes, int max_depth, int skip_count,
// Assume that the first page is not stack.
StackInfo stack_info;
stack_info.stack_low = getpagesize();
stack_info.stack_low = static_cast<uintptr_t>(getpagesize());
stack_info.stack_high = kUnknownStackEnd;
stack_info.sig_stack_low = stack_info.stack_low;
stack_info.sig_stack_high = kUnknownStackEnd;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment