Add unsigned char cast to isalpha
This commit is contained in:
parent
6da6a6c803
commit
9f1599b8c2
@ -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++;
|
||||
|
@ -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++;
|
||||
|
Loading…
Reference in New Issue
Block a user