Do not assign result of (char *) cast to u_char * variable.

This commit is contained in:
Alexander Kabaev 2007-04-04 03:10:42 +00:00
parent c5384974d9
commit 9160afee7c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168342

View File

@ -431,7 +431,7 @@ ProxyEncodeTcpStream(struct alias_link *lnk,
{
int dlen;
int hlen;
u_char *p;
char *p;
hlen = (pip->ip_hl + tc->th_off) << 2;
dlen = ntohs(pip->ip_len) - hlen;