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

Use math.MaxInt as maximum value of int type #695

Merged
merged 1 commit into from
Feb 22, 2025

Conversation

RoEdAl
Copy link
Contributor

@RoEdAl RoEdAl commented Feb 22, 2025

On 32-bit architectures assigning math.MaxInt64 to int variable generates error: cannot use math.MaxInt64 (untyped int constant 9223372036854775807) as int value in assignment (overflows). Use platform-dependent math.MaxInt instead.

On 32-bit architectures assigning math.MaxInt64 to int variable generates error:
cannot use math.MaxInt64 (untyped int constant 9223372036854775807) as int value in assignment (overflows).
@deniszh deniszh merged commit e0bc185 into go-graphite:master Feb 22, 2025
8 of 9 checks passed
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