summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--solenv/bin/concat-deps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/solenv/bin/concat-deps.c b/solenv/bin/concat-deps.c
index 14425441cd6d..32e4f10ee4e0 100644
--- a/solenv/bin/concat-deps.c
+++ b/solenv/bin/concat-deps.c
@@ -795,7 +795,8 @@ static inline void print_fullpaths(char* line)
end = token;
/* hard to believe that in this day and age drive letters still exist */
if (*end && (':' == *(end+1)) &&
- (('\\' == *(end+2)) || ('/' == *(end+2))) && isalpha(*end))
+ (('\\' == *(end+2)) || ('/' == *(end+2))) &&
+ isalpha((unsigned char)*end))
{
end = end + 3; /* only one cross, err drive letter per filename */
}