Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cast type explicitly for fix build error #111

Merged
merged 3 commits into from Nov 24, 2021

Conversation

neoatlan
Copy link
Contributor

Issue #, if available:
Fix build error on Apple clang version 12.0.0 (clang-1200.0.32.27)

src/backward.h:3265:57: error: 
      implicit conversion loses integer precision: 'size_t'
      (aka 'unsigned long') to 'int' [-Werror,-Wshorten-64-to-32]
        _symbols.reset(backtrace_symbols(st.begin(), st.size()));

Description of changes:
Cast type explicitly

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@neoatlan neoatlan marked this pull request as ready for review December 12, 2020 17:29
@bmoffatt
Copy link
Collaborator

Thanks!

@bmoffatt bmoffatt merged commit 1f2ed6e into awslabs:master Nov 24, 2021
@neoatlan neoatlan deleted the fix-implicit-conversion branch November 25, 2021 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants