summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenrik Andersson <hean01@cendio.com>2017-10-17 10:20:23 +0200
committerHenrik Andersson <hean01@cendio.com>2017-10-17 10:20:23 +0200
commit797a28ed25c7f861649ff194479edf04268e2dc4 (patch)
tree18436d2c960657368e62f9b48b292f0061c1a692
parentf50e17ba9fb60ce7a7cd5a2896fcc5b3d4bbecd1 (diff)
downloadrdesktop-797a28ed25c7f861649ff194479edf04268e2dc4.zip
Fix pointer sign warning
-rw-r--r--xwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xwin.c b/xwin.c
index 42876c4..bb37b22 100644
--- a/xwin.c
+++ b/xwin.c
@@ -1860,7 +1860,7 @@ set_wm_client_machine(Display * dpy, Window win)
if (gethostname(hostname, sizeof(hostname)) != 0)
return;
- tp.value = hostname;
+ tp.value = (unsigned char *)hostname;
tp.nitems = strlen(hostname);
tp.encoding = XA_STRING;
tp.format = 8;