Skip to content

Fix static_cast that triggers compile errors with -Wpedantic (backport #1632)#1640

Merged
iche033 merged 1 commit intosdf16from
mergify/bp/sdf16/pr-1632
Mar 4, 2026
Merged

Fix static_cast that triggers compile errors with -Wpedantic (backport #1632)#1640
iche033 merged 1 commit intosdf16from
mergify/bp/sdf16/pr-1632

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Mar 3, 2026

🦟 Bug fix

Fixes compile errors

Summary

The code does not build with some strict rules such as -Wpedantic due to incorrect casts. This PR fixes the issue.

Checklist

  • Signed all commits for DCO
  • Added a screen capture or video to the PR description that demonstrates the fix (as needed)
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • Updated Bazel files (if adding new files). Created an issue otherwise.
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers
  • Was GenAI used to generate this PR? If so, make sure to add "Generated-by" to your commits. (See this policy for more info.)

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by and Generated-by messages.

Backports: If this is a backport, please use Rebase and Merge instead.


This is an automatic backport of pull request #1632 done by Mergify.

Signed-off-by: Jan Hanca <jan.hanca@robotec.ai>
Co-authored-by: Ian Chen <ichen@openrobotics.org>
(cherry picked from commit 645dd54)
@github-project-automation github-project-automation bot moved this from Inbox to In review in Core development Mar 4, 2026
@iche033 iche033 merged commit 748b28e into sdf16 Mar 4, 2026
16 checks passed
@iche033 iche033 deleted the mergify/bp/sdf16/pr-1632 branch March 4, 2026 00:52
@github-project-automation github-project-automation bot moved this from In review to Done in Core development Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🪵 jetty Gazebo Jetty

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants