summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-08-29 10:23:13 +0000
committerbde <bde@FreeBSD.org>1999-08-29 10:23:13 +0000
commit615716acb7c3853d0331948df3559f9a8af9f078 (patch)
treee28ca2bf3c35578deacf0e82b94fa75c55d73891 /sys/netinet
parent9ff03382d8104317a2337d0f6430cf127b65a6c1 (diff)
downloadFreeBSD-src-615716acb7c3853d0331948df3559f9a8af9f078.zip
FreeBSD-src-615716acb7c3853d0331948df3559f9a8af9f078.tar.gz
Oops, I missed a cast in rev.1.119.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_fw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c
index 4bfdc8b..fadb710 100644
--- a/sys/netinet/ip_fw.c
+++ b/sys/netinet/ip_fw.c
@@ -1359,7 +1359,7 @@ ip_fw_ctl(struct sockopt *sopt)
for (fcp = LIST_FIRST(&ip_fw_chain), bp = buf; fcp;
fcp = LIST_NEXT(fcp, chain)) {
bcopy(fcp->rule, bp, sizeof *fcp->rule);
- bp->pipe_ptr = (intptr_t)
+ bp->pipe_ptr = (void *)(intptr_t)
((struct ip_fw_ext *)fcp->rule)->dont_match_prob;
bp++;
}
OpenPOWER on IntegriCloud