fix getc - the classic error of trying to store EOF+0-255 in a char type..
[musl] / src / ctype / iswdigit.c
1 #include <wchar.h>
2 #include <wctype.h>
3
4 #undef iswdigit
5
6 int iswdigit(wint_t wc)
7 {
8         return (unsigned)wc-'0' < 10;
9 }