summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-06-20 19:45:44 +0000
committerjmallett <jmallett@FreeBSD.org>2002-06-20 19:45:44 +0000
commit2b6583821c1f5fb4be1353a4d475e112842650f3 (patch)
tree64a87421fc5c2d4a32a3e911962337949a61d3ae /usr.bin/make
parentdad405844130b45efebf2c6903b450503686d940 (diff)
downloadFreeBSD-src-2b6583821c1f5fb4be1353a4d475e112842650f3.zip
FreeBSD-src-2b6583821c1f5fb4be1353a4d475e112842650f3.tar.gz
More unsigned char casts to isupper(3).
Obtained from: NetBSD
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c
index 1828bc6..3e1eed5 100644
--- a/usr.bin/make/parse.c
+++ b/usr.bin/make/parse.c
@@ -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.
OpenPOWER on IntegriCloud