Skip to content

refactor: add explicit cast in freebsd_pow bit operation#4960

Draft
lum1n0us wants to merge 1 commit into
bytecodealliance:mainfrom
lum1n0us:fix/pow_int_overflow
Draft

refactor: add explicit cast in freebsd_pow bit operation#4960
lum1n0us wants to merge 1 commit into
bytecodealliance:mainfrom
lum1n0us:fix/pow_int_overflow

Conversation

@lum1n0us
Copy link
Copy Markdown
Contributor

@lum1n0us lum1n0us commented Jun 5, 2026

Add explicit int32_t cast to clarify the intent of the sign bit extraction operation, preventing potential signed/unsigned conversion warnings on stricter compilers while maintaining the portable implementation.

Add explicit int32_t cast to clarify the intent of the sign bit
extraction operation, preventing potential signed/unsigned conversion
warnings on stricter compilers while maintaining the portable
implementation.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.

1 participant