Skip to content

fix: Initialization with correct signedness#6111

Merged
mvieth merged 2 commits intoPointCloudLibrary:masterfrom
tricostume:fix/seg/solveImplicitCasting
Aug 20, 2024
Merged

fix: Initialization with correct signedness#6111
mvieth merged 2 commits intoPointCloudLibrary:masterfrom
tricostume:fix/seg/solveImplicitCasting

Conversation

@tricostume
Copy link
Copy Markdown
Contributor

Referencing issue 6110
#6110

Problem:
A max range of int is implicitly casted to unsigned int. This may cause an overflow and the semantic meaning of max is lost.

Simple solution: Changed the respective line and ran the tests

@mvieth
Copy link
Copy Markdown
Member

mvieth commented Aug 20, 2024

BTW you can disregard the failing macOS Ventura 13 check. That is unrelated to your changes and will be fixed by another pull request.

Copy link
Copy Markdown
Member

@mvieth mvieth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mvieth mvieth merged commit e4f766c into PointCloudLibrary:master Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: fix Meta-information for changelog generation module: segmentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants