blob: 45d209372ba761fb69652797be20c8b771883edf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-menuselect_menuselect.c,v 1.1.1.1 2021/06/13 07:47:18 jnemeth Exp $
--- menuselect/menuselect.c.orig 2018-05-07 17:13:49.312815875 +0000
+++ menuselect/menuselect.c
@@ -1461,7 +1461,7 @@ static int generate_makedeps_file(void)
}
for (c = dep->name; *c; c++)
- fputc(toupper(*c), f);
+ fputc(toupper((unsigned char)*c), f);
fputc(' ', f);
}
AST_LIST_TRAVERSE(&mem->uses, use, list) {
@@ -1477,7 +1477,7 @@ static int generate_makedeps_file(void)
}
for (c = use->name; *c; c++)
- fputc(toupper(*c), f);
+ fputc(toupper((unsigned char)*c), f);
fputc(' ', f);
}
|