summaryrefslogtreecommitdiff
path: root/networking/telnetd.c
diff options
context:
space:
mode:
authorEric Andersen2006-01-30 22:30:41 +0000
committerEric Andersen2006-01-30 22:30:41 +0000
commit0cb6f35c33a2a3fd390aaa36da72e0600f205918 (patch)
tree6f685077a27f04869b4f152cbe4287c023554afb /networking/telnetd.c
parent5e678873f9ff7c95d43b278feee547ce989b3b20 (diff)
downloadbusybox-0cb6f35c33a2a3fd390aaa36da72e0600f205918.zip
busybox-0cb6f35c33a2a3fd390aaa36da72e0600f205918.tar.gz
fix up annoying signed/unsigned and mixed type errors
Diffstat (limited to 'networking/telnetd.c')
-rw-r--r--networking/telnetd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/telnetd.c b/networking/telnetd.c
index 73303a2..8943b2e 100644
--- a/networking/telnetd.c
+++ b/networking/telnetd.c
@@ -131,7 +131,7 @@ static struct tsession *sessions;
*/
static char *
remove_iacs(struct tsession *ts, int *pnum_totty) {
- unsigned char *ptr0 = ts->buf1 + ts->wridx1;
+ unsigned char *ptr0 = (unsigned char *)ts->buf1 + ts->wridx1;
unsigned char *ptr = ptr0;
unsigned char *totty = ptr;
unsigned char *end = ptr + MIN(BUFSIZE - ts->wridx1, ts->size1);