summaryrefslogtreecommitdiff
path: root/sys/netinet6/icmp6.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet6/icmp6.c')
-rw-r--r--sys/netinet6/icmp6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/icmp6.c b/sys/netinet6/icmp6.c
index d823730ffcd..83dee468e08 100644
--- a/sys/netinet6/icmp6.c
+++ b/sys/netinet6/icmp6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: icmp6.c,v 1.16 2000/06/12 17:24:26 itojun Exp $ */
+/* $OpenBSD: icmp6.c,v 1.17 2000/06/13 16:36:11 itojun Exp $ */
/* $KAME: icmp6.c,v 1.113 2000/06/12 09:24:41 itojun Exp $ */
/*
@@ -1406,7 +1406,7 @@ ni6_dnsmatch(a, alen, b, blen)
if (a - a0 + 1 > alen || b - b0 + 1 > blen)
return 0;
- if (a[0] < 0 || b[0] < 0)
+ if ((int)a[0] < 0 || (int)b[0] < 0)
return 0;
/* we don't support compression yet */
if (a[0] >= 64 || b[0] >= 64)