Do not assign result of (char *) cast to u_char * variable.
This commit is contained in:
parent
c5384974d9
commit
9160afee7c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168342
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user