1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Add unsigned char cast to isalpha

This commit is contained in:
Andrey A. Chernov 1999-11-04 05:01:28 +00:00
parent bac6a61c15
commit deee919e7e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52865
2 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ init_services()
if (cp == NULL)
continue;
do {
if (isalpha(cp[0])) {
if (isalpha((unsigned char)cp[0])) {
service_order[cc] = get_service_name(cp);
if(service_order[cc] != SERVICE_NONE)
cc++;

View File

@ -101,7 +101,7 @@ init_services()
if (cp == NULL)
continue;
do {
if (isalpha(cp[0])) {
if (isalpha((unsigned char)cp[0])) {
service_order[cc] = get_service_name(cp);
if(service_order[cc] != SERVICE_NONE)
cc++;