diff options
author | Henrik Andersson <hean01@cendio.com> | 2017-10-17 10:20:23 +0200 |
---|---|---|
committer | Henrik Andersson <hean01@cendio.com> | 2017-10-17 10:20:23 +0200 |
commit | 797a28ed25c7f861649ff194479edf04268e2dc4 (patch) | |
tree | 18436d2c960657368e62f9b48b292f0061c1a692 | |
parent | f50e17ba9fb60ce7a7cd5a2896fcc5b3d4bbecd1 (diff) | |
download | rdesktop-797a28ed25c7f861649ff194479edf04268e2dc4.zip |
Fix pointer sign warning
-rw-r--r-- | xwin.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |