summaryrefslogtreecommitdiff
path: root/sys/netinet6/frag6.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-09-11 03:27:31 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-09-11 03:27:31 +0000
commit30c7cf95db618593b332d32dea51d0dd6075a296 (patch)
treea6b0df692d12b08c0b2cd71bd26b9603c3915d0e /sys/netinet6/frag6.c
parent054578cdcb9492f885869f1af32b3b1ba17d007d (diff)
fix pointer signedness mixup. sync w/kame
Diffstat (limited to 'sys/netinet6/frag6.c')
-rw-r--r--sys/netinet6/frag6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/frag6.c b/sys/netinet6/frag6.c
index b97d75270cb..838f023cad2 100644
--- a/sys/netinet6/frag6.c
+++ b/sys/netinet6/frag6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: frag6.c,v 1.18 2002/09/11 03:15:36 itojun Exp $ */
+/* $OpenBSD: frag6.c,v 1.19 2002/09/11 03:27:30 itojun Exp $ */
/* $KAME: frag6.c,v 1.40 2002/05/27 21:40:31 itojun Exp $ */
/*
@@ -586,7 +586,7 @@ insert:
* Store NXT to the original.
*/
{
- char *prvnxtp = ip6_get_prevhdr(m, offset); /* XXX */
+ u_int8_t *prvnxtp = ip6_get_prevhdr(m, offset); /* XXX */
*prvnxtp = nxt;
}