Closed
Description
Welcome
- Yes, I'm using a binary release within 2 latest releases. Only such installations are supported.
- Yes, I've searched similar issues on GitHub and didn't find any.
- Yes, I've read the
typecheck
section of the FAQ. - Yes, I've tried with the standalone linter if available (e.g., gocritic, go vet, etc.).
- I agree to follow this project's Code of Conduct
Description of the problem
v1.60.2 starts to report "integer overflow conversion int -> int32 for conversion like int32(group) with group is an int", but v1.60.1 does not report this error.
Version of golangci-lint
v1.60.2
Configuration
Using v1.60.2
v1.60.1 is fine.
Go environment
1.22.4
Verbose output of running
G115: integer overflow conversion int -> int32 (gosec)
drqsGroup := int32(group)
group is an int defined.
A minimal reproducible example or link to a public repository
internal project. no link.
Validation
- Yes, I've included all information above (version, config, etc.).
Supporter
- I am a sponsor/backer through GitHub or OpenCollective