From 66147b79187abdcbee3778f3259a441bc65ce8e2 Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 22 Sep 2003 23:24:18 +0000 Subject: [PATCH] While cleaning out my tree, fix another strict alias warning that would be happening if we didn't stop compiling with -fno-strict-aliasing. --- sys/net/radix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/radix.c b/sys/net/radix.c index 345ed58babf0..378d1cbdf54d 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"); }