mirror of
https://github.com/opnsense/src.git
synced 2026-04-26 00:27:08 -04:00
More unsigned char casts to isupper(3).
Obtained from: NetBSD
This commit is contained in:
parent
d91c14de79
commit
7fc2a9f90c
1 changed files with 2 additions and 2 deletions
|
|
@ -497,7 +497,7 @@ ParseDoSrc (tOp, src, allsrc)
|
|||
{
|
||||
GNode *gn = NULL;
|
||||
|
||||
if (*src == '.' && isupper (src[1])) {
|
||||
if (*src == '.' && isupper ((unsigned char) src[1])) {
|
||||
int keywd = ParseFindKeyword(src);
|
||||
if (keywd != -1) {
|
||||
int op = parseKeywords[keywd].op;
|
||||
|
|
@ -789,7 +789,7 @@ ParseDoDependency (line)
|
|||
* Have a word in line. See if it's a special target and set
|
||||
* specType to match it.
|
||||
*/
|
||||
if (*line == '.' && isupper (line[1])) {
|
||||
if (*line == '.' && isupper ((unsigned char) line[1])) {
|
||||
/*
|
||||
* See if the target is a special target that must have it
|
||||
* or its sources handled specially.
|
||||
|
|
|
|||
Loading…
Reference in a new issue