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