$NetBSD: patch-ak,v 1.1 2003/10/10 12:56:18 agc Exp $ --- pf_key_v2.c 2003/10/05 02:13:46 1.1 +++ pf_key_v2.c 2003/10/05 02:14:11 @@ -747,7 +747,7 @@ spirange.sadb_spirange_max = 0xffffffff; } spirange.sadb_spirange_reserved = 0; - if (pf_key_v2_msg_add (getspi, (struct sadb_ext *)&spirange, 0) == -1) + if (pf_key_v2_msg_add (getspi, (struct sadb_ext *)(void *)&spirange, 0) == -1) goto cleanup; ret = pf_key_v2_call (getspi);