summaryrefslogtreecommitdiff
path: root/src/communications.c
diff options
context:
space:
mode:
authorBernhard R. Link <brlink@debian.org>2009-07-15 17:41:11 +0200
committerBernhard R. Link <brlink@debian.org>2009-07-15 18:54:31 +0200
commit36dd8df21904c8e4dba98af0fb9137c438324f9f (patch)
tree790455ef7fe69fdf1dfdd29309966bca749db1d5 /src/communications.c
parentad06f3519881bd3b2d5b8a3f1880a6768a530e2a (diff)
downloadratpoison-36dd8df21904c8e4dba98af0fb9137c438324f9f.zip
silence warnings about signed/unsigned char mismatch
Diffstat (limited to 'src/communications.c')
-rw-r--r--src/communications.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/communications.c b/src/communications.c
index b3e95f2..5f0cdc7 100644
--- a/src/communications.c
+++ b/src/communications.c
@@ -109,7 +109,7 @@ send_command (unsigned char interactive, unsigned char *cmd, int screen_num)
XSelectInput (dpy, w, PropertyChangeMask);
XChangeProperty (dpy, w, rp_command, XA_STRING,
- 8, PropModeReplace, sbuf_get(s), strlen ((char *)cmd) + 2);
+ 8, PropModeReplace, (unsigned char*)sbuf_get(s), strlen ((char *)cmd) + 2);
XChangeProperty (dpy, root,
rp_command_request, XA_WINDOW,