Skip to content

Prevent implicit integer truncations#302

Merged
anticomputer merged 2 commits intomasterfrom
fix-size-integers-01232023
Jan 23, 2023
Merged

Prevent implicit integer truncations#302
anticomputer merged 2 commits intomasterfrom
fix-size-integers-01232023

Conversation

@anticomputer
Copy link

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