Skip to content

refactor: add explicit cast in freebsd_pow bit operation#4960

Merged
lum1n0us merged 1 commit into
bytecodealliance:mainfrom
lum1n0us:fix/pow_int_overflow
Jun 8, 2026
Merged

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

Conversation

@lum1n0us

@lum1n0us lum1n0us commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

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>
@lum1n0us lum1n0us marked this pull request as ready for review June 8, 2026 00:55
@lum1n0us lum1n0us merged commit ad0ef19 into bytecodealliance:main Jun 8, 2026
509 checks passed
@lum1n0us lum1n0us deleted the fix/pow_int_overflow branch June 8, 2026 06:16
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.

2 participants