aboutsummaryrefslogtreecommitdiffstats
path: root/tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcp.c')
-rw-r--r--tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcp.c b/tcp.c
index a6ae2f0..fbb5812 100644
--- a/tcp.c
+++ b/tcp.c
@@ -377,7 +377,7 @@ int tcp_read __P3 (int,fd, char *,buffer, int,maxsize)
/* no MPI messages after \n\r */
PRINTF("#warning: MPI attack?\n");
} else {
- subchars = process_message(s+1, i-1);
+ subchars = process_message((char*)s+1, i-1);
/* no +MPILEN here, as it was already processed. */
s += subchars; i-= subchars;
p = linestart;
@@ -411,7 +411,7 @@ int tcp_read __P3 (int,fd, char *,buffer, int,maxsize)
case GA:
/* I should handle GA as end-of-prompt marker one day */
/* one day has come ;) - Max */
- prompt_set_iac(p);
+ prompt_set_iac((char*)p);
state = NORMAL;
break;
default: