mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-15 06:50:32 +00:00
Explicitly cast string literal to avoid warning.
This commit is contained in:
parent
bda505c95b
commit
be35179ec6
@ -100,8 +100,8 @@ void x11_move_window(Display *dpy, Window win, int x, int y,
|
||||
static void x11_set_window_class(Display *dpy, Window win)
|
||||
{
|
||||
XClassHint hint = {0};
|
||||
hint.res_name = "retroarch";
|
||||
hint.res_class = "retroarch";
|
||||
hint.res_name = (char*)"retroarch"; // Broken header.
|
||||
hint.res_class = (char*)"retroarch";
|
||||
XSetClassHint(dpy, win, &hint);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user