summaryrefslogtreecommitdiff
path: root/xlogo.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlogo.c')
-rw-r--r--xlogo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlogo.c b/xlogo.c
index 10b4d5c..1c41f8b 100644
--- a/xlogo.c
+++ b/xlogo.c
@@ -117,7 +117,7 @@ Syntax(Widget toplevel)
XtSetArg(arg, XtNconnection, &connection);
XtGetValues(toplevel, &arg, (Cardinal)1);
if (connection)
- SmcCloseConnection(connection, n, reasons);
+ SmcCloseConnection(connection, n, (char **) reasons);
else {
for (i=0; i < n; i++)
printf("%s", reasons[i]);