Two format-string fixes.#19200
Open
jepler wants to merge 2 commits into
Open
Conversation
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
|
Code size report: |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #19200 +/- ##
=======================================
Coverage 98.47% 98.47%
=======================================
Files 176 176
Lines 22831 22831
=======================================
Hits 22483 22483
Misses 348 348 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
dpgeorge
reviewed
May 10, 2026
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
570b903 to
3f837c3
Compare
dpgeorge
approved these changes
May 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
In a build for #17556, a new diagnostic occurred:
The preprocessor macro SIZE_FMT exists specifically for formatting objects of type
size_t, use it.Another diagnostic in machine_can.c was fixed through use of INT_FMT.
Testing
I built locally. The same change is at the top of #17556 and it will be CI tested there using the format string checker.
Generative AI
I did not use generative AI tools when creating this PR.