Skip to content

size_t to uint64_t for triangle count#4086

Merged
t-paul merged 1 commit intoopenscad:masterfrom
rcolyer:uint64stl
Feb 4, 2022
Merged

size_t to uint64_t for triangle count#4086
t-paul merged 1 commit intoopenscad:masterfrom
rcolyer:uint64stl

Conversation

@rcolyer
Copy link
Member

@rcolyer rcolyer commented Feb 4, 2022

It was pointed out that the size_t triangle_count > 4294967295 is always false on 32-bit systems, which should be inconsequential because of process memory limits preventing any possible runtime issue, but might result in warnings. This cleans it up by using uint64_t.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants