From c945112e89222e697c3733c69eab685f606a5be5 Mon Sep 17 00:00:00 2001 From: james <> Date: Fri, 22 Jun 2012 10:22:25 +0000 Subject: *** empty log message *** --- apps/mainloop.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'apps/mainloop.c') diff --git a/apps/mainloop.c b/apps/mainloop.c index 5237bfe..9c434bb 100644 --- a/apps/mainloop.c +++ b/apps/mainloop.c @@ -11,6 +11,9 @@ static char rcsid[] = /* * $Log$ + * Revision 1.34 2012/06/22 10:22:24 james + * *** empty log message *** + * * Revision 1.33 2008/05/09 12:35:57 james * *** empty log message *** * @@ -154,6 +157,11 @@ static char rcsid[] = #include "clients.h" +static inline char * +stop_wno_unused_on_rcsid (void) +{ + return rcsid; +} typedef struct { @@ -436,7 +444,7 @@ msg_from_server (ANSI * a, IPC_Msg * m, Context * c) } break; case IPC_MSG_TYPE_TERM: - err += tty_parse (c, m->term.term, m->term.len); + err += tty_parse (c, (uint8_t *) m->term.term, m->term.len); break; case IPC_MSG_TYPE_STATUS: cmd_new_status (c->d, c, m->status.status); @@ -564,7 +572,7 @@ mainloop (Context * c, ANSI * ansi, Socket * server_socket, { if (clients) send_output (clients, buf, red); - if (tty_parse (c, buf, red)) + if (tty_parse (c, (uint8_t *) buf, red)) break; } } -- cgit v1.2.3