Skip to content

Conversation

@muramura
Copy link
Contributor

I am refactoring several locations to use constrain_int8 and constrain_uint8 where the variables are 8-bit types. This ensures type consistency and improves code clarity.

@peterbarker
Copy link
Contributor

The function used must match the type of the first argument, not the range the value is being constrained to (or the type into which the result is being assigned).

See #32015

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.

3 participants