[libc-commits] [libc] [libc] fix -Wtype-limits in wctob (PR #74511)

via libc-commits libc-commits at lists.llvm.org
Tue Dec 5 15:22:31 PST 2023


https://github.com/michaelrj-google approved this pull request.

This version is fine, though we could also static cast to an unsigned type and just check if the resulting value is less than 127. Either is fine, feel free to land.

https://github.com/llvm/llvm-project/pull/74511


More information about the libc-commits mailing list