iconv: fix missing bounds checking for shift_jis decoding
[musl.git] / src / ctype / toascii.c
blobf0e48e8e91761585db15fbc6a6f2e5fa74496c23
1 #include <ctype.h>
3 /* nonsense function that should NEVER be used! */
4 int toascii(int c)
6 return c & 0x7f;