summaryrefslogtreecommitdiffstats
path: root/sys/net/radix.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-09-22 23:24:18 +0000
committerpeter <peter@FreeBSD.org>2003-09-22 23:24:18 +0000
commitbdd520298931b19b8048f8b0ccb66ab07b4e060c (patch)
tree02092ebc851ca20ea88ab9d0b63f3966b585472c /sys/net/radix.c
parent58e9e8592fc9e50ef2faae595a048c65b7e3ac8d (diff)
downloadFreeBSD-src-bdd520298931b19b8048f8b0ccb66ab07b4e060c.zip
FreeBSD-src-bdd520298931b19b8048f8b0ccb66ab07b4e060c.tar.gz
While cleaning out my tree, fix another strict alias warning that would
be happening if we didn't stop compiling with -fno-strict-aliasing.
Diffstat (limited to 'sys/net/radix.c')
-rw-r--r--sys/net/radix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/radix.c b/sys/net/radix.c
index 345ed58..378d1cb 100644
--- a/sys/net/radix.c
+++ b/sys/net/radix.c
@@ -1076,6 +1076,6 @@ rn_init()
addmask_key = cplim = rn_ones + max_keylen;
while (cp < cplim)
*cp++ = -1;
- if (rn_inithead((void **)&mask_rnhead, 0) == 0)
+ if (rn_inithead((void **)(void *)&mask_rnhead, 0) == 0)
panic("rn_init 2");
}
OpenPOWER on IntegriCloud