diff options
author | kan <kan@FreeBSD.org> | 2007-04-04 03:10:42 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2007-04-04 03:10:42 +0000 |
commit | 8aa4f2f59c5b60f48559ea4a56ed6ae4d08c69ff (patch) | |
tree | 192033d54f1bbacb7116c34ee35f8728aac596d9 /sys/netinet | |
parent | aea51276ca3fceefa48c5378743daf047dd727bd (diff) | |
download | FreeBSD-src-8aa4f2f59c5b60f48559ea4a56ed6ae4d08c69ff.zip FreeBSD-src-8aa4f2f59c5b60f48559ea4a56ed6ae4d08c69ff.tar.gz |
Do not assign result of (char *) cast to u_char * variable.
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/libalias/alias_proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/libalias/alias_proxy.c b/sys/netinet/libalias/alias_proxy.c index f435771..11e17ca 100644 --- a/sys/netinet/libalias/alias_proxy.c +++ b/sys/netinet/libalias/alias_proxy.c @@ -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; |