diff --git a/lib/libc/locale/isctype.c b/lib/libc/locale/isctype.c index 5f5404bf6365..4d51813dbe2c 100644 --- a/lib/libc/locale/isctype.c +++ b/lib/libc/locale/isctype.c @@ -50,7 +50,7 @@ int isalnum(c) int c; { - return (__istype((c), (_A|_D))); + return (__istype((c), _A|_D)); } #undef isalpha @@ -178,5 +178,5 @@ int digittoint(c) int c; { - return (__istype((c), 0xFF)); + return (__maskrune((c), 0xFF)); }