diff options
Diffstat (limited to 'cpukit/libnetworking/libc/res_init.c')
-rw-r--r-- | cpukit/libnetworking/libc/res_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libnetworking/libc/res_init.c b/cpukit/libnetworking/libc/res_init.c index 564c230311..9af80e3727 100644 --- a/cpukit/libnetworking/libc/res_init.c +++ b/cpukit/libnetworking/libc/res_init.c @@ -340,7 +340,7 @@ res_init(void) break; net = cp; while (*cp && !ISSORTMASK(*cp) && *cp != ';' && - isascii((int)*cp) && !isspace((int)*cp)) + isascii((unsigned char)*cp) && !isspace((unsigned char)*cp)) cp++; n = *cp; *cp = 0; @@ -350,7 +350,7 @@ res_init(void) *cp++ = n; net = cp; while (*cp && *cp != ';' && - isascii((int)*cp) && !isspace((int)*cp)) + isascii((unsigned char)*cp) && !isspace((unsigned char)*cp)) cp++; n = *cp; *cp = 0; |