Skip to content

Fix builds on 32-bit systems#604

Merged
mcy merged 1 commit into
mainfrom
ed/fixBuild32Bit
Oct 15, 2025
Merged

Fix builds on 32-bit systems#604
mcy merged 1 commit into
mainfrom
ed/fixBuild32Bit

Conversation

@emcfarlane

@emcfarlane emcfarlane commented Oct 15, 2025

Copy link
Copy Markdown
Contributor

This fixes the bounds check to avoid overflowing the untyped int on 32-bit systems. Overflows on const conversion of math.MaxUint32.

This fixes the bounds check to avoid overflowing the untyped int on
32-bit systems.
@emcfarlane
emcfarlane requested a review from mcy October 15, 2025 20:12
@mcy
mcy merged commit de65a17 into main Oct 15, 2025
8 checks passed
@mcy
mcy deleted the ed/fixBuild32Bit branch October 15, 2025 22:20
mcy pushed a commit that referenced this pull request Oct 16, 2025
This fixes the bounds check to avoid overflowing the untyped int on
32-bit systems. Overflows on const conversion of `math.MaxUint32`.
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