aboutsummaryrefslogtreecommitdiff
path: root/networking/telnet.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/telnet.c')
-rw-r--r--networking/telnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/telnet.c b/networking/telnet.c
index d9e66e5d3..05c7786ab 100644
--- a/networking/telnet.c
+++ b/networking/telnet.c
@@ -204,7 +204,7 @@ static void handlenetoutput(int len)
204 */ 204 */
205 205
206 int i, j; 206 int i, j;
207 byte * p = G.buf; 207 byte * p = (byte*)G.buf;
208 byte outbuf[4*DATABUFSIZE]; 208 byte outbuf[4*DATABUFSIZE];
209 209
210 for (i = len, j = 0; i > 0; i--, p++) 210 for (i = len, j = 0; i > 0; i--, p++)