xserver/hw/xfree86
Enrico Weigelt, metux IT consult 4c333669c0 (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-04-26 19:05:22 +02:00
..
common (submit/fix-char-signedness) xfree86: common: xf86Configure: fix char signess mismatch 2024-04-26 19:05:22 +02:00
ddc os: unexport Os*() functions 2024-04-16 14:20:30 +02:00
dixmods Remove autotools support 2021-10-27 13:15:40 +03:00
doc Revert "xfree86: Remove -flippixels" 2024-01-03 19:43:16 +00:00
dri xfree86: os-support: unexport xf86RemoveSIGIOHandler 2024-04-18 00:40:39 +00:00
dri2 dix: unexport some lookup functions 2024-04-15 18:11:57 -07:00
drivers dix: unexport some lookup functions 2024-04-15 18:11:57 -07:00
exa Remove autotools support 2021-10-27 13:15:40 +03:00
fbdevhw fix including <sys/mman.h> 2024-04-18 00:12:02 +00:00
glamor_egl xorg: initialize glamor provider 2023-11-07 17:59:43 +03:00
i2c Remove autotools support 2021-10-27 13:15:40 +03:00
int10 os: unexport Os*() functions 2024-04-16 14:20:30 +02:00
loader Remove autotools support 2021-10-27 13:15:40 +03:00
man xorg.conf.man: Add missing new paragraph mark before AllowByteSwappedClients 2024-03-23 14:30:43 -07:00
modes xfree86: modes: drop unused xf86_driver_has_show_cursor() 2024-04-18 01:03:11 +00:00
os-support include: move dbus-core.h to config 2024-04-23 01:46:24 +00:00
parser (submit/fix-char-signedness) xfree86: parser: scan: fix char signess mismatch 2024-04-26 19:05:22 +02:00
ramdac xfree86: use own dev-privates key for per-screen cursor 2024-03-12 15:24:35 +00:00
shadowfb Remove autotools support 2021-10-27 13:15:40 +03:00
utils Remove autotools support 2021-10-27 13:15:40 +03:00
vgahw xfree86: vgahw: drop obsolete _NEED_SYSI86 2024-04-13 19:43:59 +00:00
x86emu xfree86: x86emu: fix warning on unneccessary abs() 2024-04-18 01:03:11 +00:00
xkb xkb: drop defining XKBSRV_NEED_FILE_FUNCS 2024-02-19 00:44:15 +00:00
.gitignore Xorg: Add Xorg.wrap to hw/xfree86/.gitignore 2014-04-18 11:39:16 +02:00
Xorg.sh.in xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
meson.build meson: Support building Xnest and Xorg on darwin 2022-06-26 09:16:42 +00:00
sdksyms.sh dbe: unexport dbestruct.h 2024-04-23 02:18:02 +00:00
xorg-wrapper.c Fix various spelling errors 2019-10-01 17:05:28 +00:00
xorgconf.cpp Fix spelling/wording issues 2020-07-05 13:07:33 -07:00