Bunch of DMX warning fixes

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Keith Packard
2013-11-15 17:55:15 +09:00
parent 493d992501
commit c85e26d599
7 changed files with 15 additions and 34 deletions

View File

@@ -825,8 +825,8 @@ dmxConsoleInit(DevicePtr pDev)
/* Set up properties */
XStoreName(dpy, win, DMX_CONSOLE_NAME);
class_hints.res_name = DMX_RES_NAME;
class_hints.res_class = DMX_RES_CLASS;
class_hints.res_name = (char *) DMX_RES_NAME;
class_hints.res_class = (char *) DMX_RES_CLASS;
XSetClassHint(dpy, win, &class_hints);
/* Map the window */