summaryrefslogtreecommitdiff
path: root/sys/netinet6
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2012-04-13 09:38:33 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2012-04-13 09:38:33 +0000
commitea34965f8126cc43f9691ba463e97146abf8a902 (patch)
tree566fed278c431279294942fe83f2e16c08431277 /sys/netinet6
parent4e1412b0c3fea3a30904b255aca56d424a1b0ba5 (diff)
unneccessary casts to unsigned; ok claudio
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/ip6_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet6/ip6_output.c b/sys/netinet6/ip6_output.c
index 148a51b0660..328d561dbeb 100644
--- a/sys/netinet6/ip6_output.c
+++ b/sys/netinet6/ip6_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip6_output.c,v 1.123 2011/11/24 17:39:55 sperreault Exp $ */
+/* $OpenBSD: ip6_output.c,v 1.124 2012/04/13 09:38:32 deraadt Exp $ */
/* $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $ */
/*
@@ -1933,7 +1933,7 @@ do { \
*mp = m = m_get(M_WAIT, MT_SOOPTS);
m->m_len = sizeof(tdbi);
bcopy((caddr_t)&tdbi, mtod(m, caddr_t),
- (unsigned)m->m_len);
+ m->m_len);
}
splx(s);
#endif