mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add unsigned char cast to isalpha
This commit is contained in:
parent
bac6a61c15
commit
deee919e7e
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue