Skip to content

Eliminate warnings when base char type is unsigned #95

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 2 commits into from
Apr 22, 2021

Conversation

dan4thewin
Copy link
Contributor

The C standard leaves it to the implementation as to the signedness of type char. When char was signed all was well, but when char was unsigned, some comparisons gave compiler warnings: "comparison is always true due to limited range of data type [-Wtype-limits]". This PR resolves those warnings.

@dan4thewin dan4thewin merged commit f81dec2 into FreeRTOS:main Apr 22, 2021
@dan4thewin dan4thewin deleted the char-signedness branch April 22, 2021 23:15
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.

3 participants