fix incorrect range checks in wcsrtombs
[musl] / src / multibyte / btowc.c
1 #include <stdio.h>
2 #include <wchar.h>
3
4 wint_t btowc(int c)
5 {
6         return c<128U ? c : EOF;
7 }