Skip to content

Use %u format specifier instead of %d for unsigned integers#1809

Merged
phst merged 1 commit intomasterfrom
disp
Mar 30, 2026
Merged

Use %u format specifier instead of %d for unsigned integers#1809
phst merged 1 commit intomasterfrom
disp

Conversation

@phst
Copy link
Copy Markdown
Owner

@phst phst commented Mar 30, 2026

No description provided.

@phst phst mentioned this pull request Mar 30, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates format specifiers from %d to %u across elisp/private/tools/system.cc and elisp/private/tools/tst.cc to correctly handle unsigned values in log and error messages. It also updates the copyright year in tst.cc. Feedback was provided to improve the specificity of error messages in the ToNarrow function, as multiple distinct failure modes currently share the same descriptive string, which complicates debugging.

@phst phst merged commit 92700a4 into master Mar 30, 2026
18 checks passed
@phst phst deleted the disp branch March 30, 2026 20:08
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