diff options
author | Michael Jennings <mej@kainx.org> | 1999-10-27 18:10:40 +0000 |
---|---|---|
committer | Michael Jennings <mej@kainx.org> | 1999-10-27 18:10:40 +0000 |
commit | 5c930667ec955767713a936d7402ada6d6adf887 (patch) | |
tree | f50b19d1d6cddb3df9d12d1443a15657fd972058 /src/actions.c | |
parent | 9ce25b6ae7316af7d0964196bb0b6a62fe0a2d14 (diff) | |
download | eterm-5c930667ec955767713a936d7402ada6d6adf887.tar.gz |
Wed Oct 27 18:46:04 PDT 1999 Michael Jennings <mej@eterm.org>
Fixed lots of issues revealed by the -ansi -pedantic flags. The only
warnings you get with those flags now are implicit declaration
warnings for non-ANSI functions and warnings specific to certain OS's
and their non-ANSI implementations of ANSI functions, neither of
which I can do much about. :-)
SVN revision: 1010
Diffstat (limited to 'src/actions.c')
-rw-r--r-- | src/actions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actions.c b/src/actions.c index 138dbbf..33b4e1a 100644 --- a/src/actions.c +++ b/src/actions.c @@ -58,7 +58,7 @@ unsigned char action_handle_string(event_t *ev, action_t *action) { REQUIRE_RVAL(action->param.string != NULL, 0); - cmd_write(action->param.string, strlen(action->param.string)); + cmd_write((unsigned char *) action->param.string, strlen(action->param.string)); return 1; ev = NULL; } @@ -67,7 +67,7 @@ unsigned char action_handle_echo(event_t *ev, action_t *action) { REQUIRE_RVAL(action->param.string != NULL, 0); - tt_write(action->param.string, strlen(action->param.string)); + tt_write((unsigned char *) action->param.string, strlen(action->param.string)); return 1; ev = NULL; } |