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)
*/
int i, j;
- byte * p = G.buf;
+ byte * p = (byte*)G.buf;
byte outbuf[4*DATABUFSIZE];
for (i = len, j = 0; i > 0; i--, p++)