Skip to content

Misc test fixes#2520

Open
dl3sdo wants to merge 3 commits into
OpenOrienteering:masterfrom
dl3sdo:misc-test-fixes
Open

Misc test fixes#2520
dl3sdo wants to merge 3 commits into
OpenOrienteering:masterfrom
dl3sdo:misc-test-fixes

Conversation

@dl3sdo

@dl3sdo dl3sdo commented Jun 19, 2026

Copy link
Copy Markdown
Member

DuplicateEqualsTest: Fix comparison of area symbols

PathObjectTest: Fix copy and paste error

FileFormatTest: Fix variable type deduction:
Fix type deduction where subtracting two unsigned functions resulted in an unsigned auto variable, ignoring negative results.
This underflow had no negative side effects because QString::fill() expects a signed parameter, implicitly converting values near UINT_MAX back to the correct negative numbers.

dl3sdo added 3 commits June 19, 2026 19:25
Fix type deduction where subtracting two unsigned functions resulted
in an unsigned auto variable, ignoring negative results.
This underflow had no negative side effects because QString::fill()
expects a signed parameter, implicitly converting values near UINT_MAX
back to the correct negative numbers.
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.

1 participant