summaryrefslogtreecommitdiff
path: root/comm.c
diff options
context:
space:
mode:
Diffstat (limited to 'comm.c')
-rw-r--r--comm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/comm.c b/comm.c
index a19666b..251e9d3 100644
--- a/comm.c
+++ b/comm.c
@@ -180,7 +180,7 @@ GetClientWindow(Widget w, int *x, int *y)
/* ARGSUSED */
void
-SetCommand(Widget w, ResCommand command, char *msg)
+SetCommand(Widget w, ResCommand command, String msg)
{
XClientMessageEvent client_event;
Display * dpy = XtDisplay(w);
@@ -254,7 +254,8 @@ SetCommand(Widget w, ResCommand command, char *msg)
static void
TellUserAboutMessage(Widget label, ResCommand command)
{
- char msg[BUFSIZ], *str;
+ char msg[BUFSIZ];
+ const char *str;
switch(command) {
case LocalSendWidgetTree: