Skip to content

demotion-of-integers.md: Fix example #5223

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 6, 2025
Merged

Conversation

Alcaro
Copy link
Contributor

@Alcaro Alcaro commented Mar 5, 2025

-2 isn't 0xFE. (char)-2 is 0xFE, but IMO adding a type cast would distract from the point of that page; instead, let's switch to integers' default size.

Copy link
Contributor

@Alcaro : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

Copy link
Contributor

Learn Build status updates of commit ebacb40:

✅ Validation status: passed

File Status Preview URL Details
docs/c-language/demotion-of-integers.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

Copy link
Collaborator

@TylerMSFT TylerMSFT left a comment

Choose a reason for hiding this comment

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

Thank you for this fix. Excellent.

@TylerMSFT
Copy link
Collaborator

#sign-off

Copy link
Contributor

@Alcaro : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@Court72 Court72 merged commit 80d3b1a into MicrosoftDocs:main Mar 6, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants