Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libc] fix -Wtype-limits in wctob (#74511)
GCC warns: ``` libc/src/__support/wctype_utils.h:33:20: error: comparison of unsigned expression in ‘< 0’ is always false [-Werror=type-limits] 33 | if (c > 127 || c < 0) | ~~^~~ ``` Looking into the signedness of wint_t, it looks like depending on the platform, __WINT_TYPE__ is defined to int or unsigned int depending on the platform. Link: https://lab.llvm.org/buildbot/#/builders/250/builds/14891/steps/6/logs/stdio
- Loading branch information