Add unsigned char cast to isalpha

This commit is contained in:
ache 1999-11-04 05:01:28 +00:00
parent 6da6a6c803
commit 9f1599b8c2
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++;