applied patch by xranby to remove warnings
This commit is contained in:
parent
0d0ffcbb59
commit
758849ad4c
|
@ -178,7 +178,7 @@ static void setWindowTitle(Display *disp, Window window, jlong title, jint len)
|
|||
XChangeProperty(disp, window,
|
||||
XInternAtom(disp, "_NET_WM_NAME", False),
|
||||
XInternAtom(disp, "UTF8_STRING", False),
|
||||
8, PropModeReplace, (const char *)(intptr_t)title,
|
||||
8, PropModeReplace, (const unsigned char *)(intptr_t)title,
|
||||
len);
|
||||
}
|
||||
|
||||
|
|
|
@ -175,7 +175,7 @@ static void setWindowTitle(Display *disp, Window window, jlong title, jint len)
|
|||
XChangeProperty(disp, window,
|
||||
XInternAtom(disp, "_NET_WM_NAME", False),
|
||||
XInternAtom(disp, "UTF8_STRING", False),
|
||||
8, PropModeReplace, (const char *)(intptr_t)title,
|
||||
8, PropModeReplace, (const unsigned char *)(intptr_t)title,
|
||||
len);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue