Fix pointer sign warning
This commit is contained in:
parent
f50e17ba9f
commit
797a28ed25
2
xwin.c
2
xwin.c
@ -1860,7 +1860,7 @@ set_wm_client_machine(Display * dpy, Window win)
|
|||||||
if (gethostname(hostname, sizeof(hostname)) != 0)
|
if (gethostname(hostname, sizeof(hostname)) != 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
tp.value = hostname;
|
tp.value = (unsigned char *)hostname;
|
||||||
tp.nitems = strlen(hostname);
|
tp.nitems = strlen(hostname);
|
||||||
tp.encoding = XA_STRING;
|
tp.encoding = XA_STRING;
|
||||||
tp.format = 8;
|
tp.format = 8;
|
||||||
|
Loading…
Reference in New Issue
Block a user