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:
parent
bac6a61c15
commit
deee919e7e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52865
@ -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