diff options
-rw-r--r-- | Makefile.am | 1 | ||||
-rw-r--r-- | xlogo.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index cf9924b..8ccf0ce 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,6 +21,7 @@ SUBDIRS = man bin_PROGRAMS = xlogo +AM_CPPFLAGS = -D_CONST_X_STRING AM_CFLAGS = $(XLOGO_CFLAGS) $(CWARNFLAGS) xlogo_LDADD = $(XLOGO_LIBS) @@ -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]); |