minabeoki opened a new pull request, #6139:
URL: https://github.com/apache/incubator-nuttx/pull/6139
## Summary
- Cast to unsigned char for strcmp and strncmp
- strcmp and strncmp are described following by opengroup.org
> The sign of a non-zero return value shall be determined by the sign
> of the difference between the values of the first pair of bytes
> (both interpreted as type **unsigned char**) that differ in the strings
> being compared.
https://pubs.opengroup.org/onlinepubs/9699919799/functions/strcmp.html
https://pubs.opengroup.org/onlinepubs/9699919799/functions/strncmp.html
## Impact
- strcmp and strncmp return value
## Testing
- ostest on sabre-6quad:smp w/ qemu
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]