On NetBSD gives warning: In file included from /usr/include/ctype.h:100, from ../hw/xfree86/parser/scan.c:58: ../hw/xfree86/parser/scan.c: In function ‘xf86getToken’: ../hw/xfree86/parser/scan.c:343:50: warning: array subscript has type ‘char’ [-Wchar-subscripts] 343 | else if ((c == ',') && !isalpha(configBuf[configPos])) { | ^ ../hw/xfree86/parser/scan.c:346:50: warning: array subscript has type ‘char’ [-Wchar-subscripts] 346 | else if ((c == '-') && !isalpha(configBuf[configPos])) { | ^ ../hw/xfree86/parser/scan.c: In function ‘xf86nameCompare’: ../hw/xfree86/parser/scan.c:1031:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1031 | c1 = (isupper(*s1) ? tolower(*s1) : *s1); | ^ ../hw/xfree86/parser/scan.c:1031:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1031 | c1 = (isupper(*s1) ? tolower(*s1) : *s1); | ^ ../hw/xfree86/parser/scan.c:1032:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1032 | c2 = (isupper(*s2) ? tolower(*s2) : *s2); | ^ ../hw/xfree86/parser/scan.c:1032:34: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1032 | c2 = (isupper(*s2) ? tolower(*s2) : *s2); | ^ ../hw/xfree86/parser/scan.c:1042:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1042 | c1 = (isupper(*s1) ? tolower(*s1) : *s1); | ^ ../hw/xfree86/parser/scan.c:1042:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1042 | c1 = (isupper(*s1) ? tolower(*s1) : *s1); | ^ ../hw/xfree86/parser/scan.c:1043:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1043 | c2 = (isupper(*s2) ? tolower(*s2) : *s2); | ^ ../hw/xfree86/parser/scan.c:1043:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] 1043 | c2 = (isupper(*s2) ? tolower(*s2) : *s2); | ^ Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> |
||
---|---|---|
.. | ||
kdrive | ||
vfb | ||
xfree86 | ||
xnest | ||
xquartz | ||
xwayland | ||
xwin | ||
meson.build |