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

Prevent implicit integer truncations #302

Merged
merged 2 commits into from
Jan 23, 2023
Merged

Conversation

anticomputer
Copy link
Collaborator

This commit changes size integers to consistently be of type size_t to prevent implicit integer truncations during integer arithmetic.

What remain are explicit truncations to (bufsize_t) which is of type int32_t. This requires additional careful consideration.

This commit changes size integers to consistently be of type size_t
to prevent implicit integer truncations during integer arithmetic.

What remain are explicit truncations to (bufsize_t) which is of type
int32_t. This requires additional careful consideration.
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