summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--absl/debugging/internal/stacktrace_aarch64-inl.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/debugging/internal/stacktrace_aarch64-inl.inc b/absl/debugging/internal/stacktrace_aarch64-inl.inc
index fba0ba49..1caf7bbe 100644
--- a/absl/debugging/internal/stacktrace_aarch64-inl.inc
+++ b/absl/debugging/internal/stacktrace_aarch64-inl.inc
@@ -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;