xserver/hw/xfree86/parser
Enrico Weigelt, metux IT consult 049c945be7 (submit/fix-char-signedness) xfree86: parser: scan: fix char signess mismatch
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>
2024-08-29 20:51:22 +02:00
..
Configint.h Fix spelling/wording issues 2020-07-05 13:07:33 -07:00
DRI.c (submit/xf86-parser v2) xfree86: parser: rename STRING for fixing name conflict 2024-08-29 20:51:21 +02:00
Device.c (submit/xf86-parser v2) xfree86: parser: rename IOBASE for fixing name conflict 2024-08-29 20:51:21 +02:00
Extensions.c xfree86/parser: annotate xf86ConfigSymTabRec as constant data 2016-04-18 11:36:29 -04:00
Files.c (submit/xf86-parser v2) xfree86: parser: rename STRING for fixing name conflict 2024-08-29 20:51:21 +02:00
Flags.c (submit/xf86-parser v2) xfree86: parser: rename STRING for fixing name conflict 2024-08-29 20:51:21 +02:00
Input.c (submit/xf86-parser v2) xfree86: parser: rename STRING for fixing name conflict 2024-08-29 20:51:21 +02:00
InputClass.c (submit/xf86-parser v2) xfree86: parser: rename STRING for fixing name conflict 2024-08-29 20:51:21 +02:00
Layout.c (submit/cleanup-api-xfree86) xfree86: parser: move private defs from xf86Parser.h to xf86Parser_priv.h 2024-08-29 20:51:22 +02:00
Module.c (submit/xf86-parser v2) xfree86: parser: rename STRING for fixing name conflict 2024-08-29 20:51:21 +02:00
Monitor.c (submit/xf86-parser v2) xfree86: parser: rename STRING for fixing name conflict 2024-08-29 20:51:21 +02:00
OutputClass.c (submit/xf86-parser v2) xfree86: parser: rename STRING for fixing name conflict 2024-08-29 20:51:21 +02:00
Pointer.c (submit/xf86-parser v2) xfree86: parser: rename STRING for fixing name conflict 2024-08-29 20:51:21 +02:00
Screen.c (submit/xf86-parser v2) xfree86: parser: rename STRING for fixing name conflict 2024-08-29 20:51:21 +02:00
Vendor.c (submit/xf86-parser v2) xfree86: parser: rename STRING for fixing name conflict 2024-08-29 20:51:21 +02:00
Video.c (submit/xf86-parser v2) xfree86: parser: rename STRING for fixing name conflict 2024-08-29 20:51:21 +02:00
configProcs.h fix missing includes of <X11/Xfuncproto.h> 2024-07-20 17:18:38 +00:00
meson.build Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
read.c (submit/cleanup-api-xfree86) xfree86: parser: move private defs from xf86Parser.h to xf86Parser_priv.h 2024-08-29 20:51:22 +02:00
scan.c (submit/fix-char-signedness) xfree86: parser: scan: fix char signess mismatch 2024-08-29 20:51:22 +02:00
write.c (submit/cleanup-api-xfree86) xfree86: parser: move private defs from xf86Parser.h to xf86Parser_priv.h 2024-08-29 20:51:22 +02:00
xf86Optrec.h Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
xf86Parser.h (submit/cleanup-api-xfree86) xfree86: parser: move private defs from xf86Parser.h to xf86Parser_priv.h 2024-08-29 20:51:22 +02:00
xf86Parser_priv.h (submit/cleanup-api-xfree86) xfree86: parser: move private defs from xf86Parser.h to xf86Parser_priv.h 2024-08-29 20:51:22 +02:00
xf86tokens.h (submit/xf86-parser v2) xfree86: parser: rename IOBASE for fixing name conflict 2024-08-29 20:51:21 +02:00