diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-09-11 03:27:31 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-09-11 03:27:31 +0000 |
commit | 30c7cf95db618593b332d32dea51d0dd6075a296 (patch) | |
tree | a6b0df692d12b08c0b2cd71bd26b9603c3915d0e /sys/netinet6/raw_ip6.c | |
parent | 054578cdcb9492f885869f1af32b3b1ba17d007d (diff) |
fix pointer signedness mixup. sync w/kame
Diffstat (limited to 'sys/netinet6/raw_ip6.c')
-rw-r--r-- | sys/netinet6/raw_ip6.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c index 51f2b3812c1..160b7707909 100644 --- a/sys/netinet6/raw_ip6.c +++ b/sys/netinet6/raw_ip6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: raw_ip6.c,v 1.16 2002/09/11 03:15:36 itojun Exp $ */ +/* $OpenBSD: raw_ip6.c,v 1.17 2002/09/11 03:27:30 itojun Exp $ */ /* $KAME: raw_ip6.c,v 1.69 2001/03/04 15:55:44 itojun Exp $ */ /* @@ -247,11 +247,11 @@ rip6_input(mp, offp, proto) if (proto == IPPROTO_NONE) m_freem(m); else { - char *prvnxtp = ip6_get_prevhdr(m, *offp); /* XXX */ + u_int8_t *prvnxtp = ip6_get_prevhdr(m, *offp); /* XXX */ in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_protounknown); icmp6_error(m, ICMP6_PARAM_PROB, ICMP6_PARAMPROB_NEXTHEADER, - prvnxtp - mtod(m, char *)); + prvnxtp - mtod(m, u_int8_t *)); } ip6stat.ip6s_delivered--; } |