diff options
author | Abseil Team <absl-team@google.com> | 2023-11-08 06:34:56 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-11-08 06:35:43 -0800 |
commit | 866b0fb56a81af7d5142f60ce331adc2005aa8b6 (patch) | |
tree | 6af7c98909d4a0c5bdb2057cf048532fce0c210b | |
parent | bb7bbb12c770cfcbc3fcde9afca6964e962f500e (diff) |
Add explicit int -> uintptr_t conversion in stacktrace code for aarch64
PiperOrigin-RevId: 580515441
Change-Id: I64999b11f1d83d56ed3680cb2d41c8a1d5f389de
-rw-r--r-- | absl/debugging/internal/stacktrace_aarch64-inl.inc | 2 |
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; |