Skip to content

Conversation

@celskeggs
Copy link
Collaborator

Related Issue(s) n/a
Has Unit Tests (y/n) n
Documentation Included (y/n) n

Change Description

Replace format string specifier %d with %PRI_FwSizeType where it is used for FwSizeType values. This is needed in two cases gated behind FW_OBJECT_NAMES == 0.

Rationale

The %d specifier for FwSizeType values does not work on platforms where FwSizeType is 64 bits. The replacement works correctly on all platforms. It appears that this was missed due to a lack of validation of FW_OBJECT_NAMES == 0 code, or perhaps a lack of -Werror in the native toolchain.

Testing/Review Recommendations

N/A

Future Work

Implementing #3100 might help catch these kinds of bugs sooner.

@LeStarch LeStarch merged commit a16f260 into nasa:devel Jan 21, 2025
36 checks passed
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