xserver-multidpi/hw/kdrive
Michel Dänzer 4287604425 Xephyr: Cast "red" to char* for xcb_aux_parse_color
xcb_aux_parse_color takes a non-const pointer, even though it doesn't
modify the string or take ownership of its memory.

Avoids the following warning from GCC:

../hw/kdrive/ephyr/hostx.c: In function ‘hostx_init’:
../hw/kdrive/ephyr/hostx.c:683:30: warning: passing argument 1 of ‘xcb_aux_parse_color’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  683 |     if (!xcb_aux_parse_color("red", &red, &green, &blue)) {
      |                              ^~~~~
In file included from ../hw/kdrive/ephyr/hostx.c:50:
/usr/include/xcb/xcb_aux.h:194:27: note: expected ‘char *’ but argument is of type ‘const char *’
  194 | xcb_aux_parse_color(char *color_name,
      |                     ~~~~~~^~~~~~~~~~
2020-01-28 20:35:06 +00:00
..
ephyr Xephyr: Cast "red" to char* for xcb_aux_parse_color 2020-01-28 20:35:06 +00:00
src Fix various spelling errors 2019-10-01 17:05:28 +00:00
Makefile.am kdrive: Remove now-unused linux backend 2017-03-01 17:51:09 -05:00
meson.build Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00
Xkdrive.man man: s/__/@/g 2018-03-27 10:13:17 -04:00