From 082ba02f9ce9c64bb4beb76f7075e7324d738e41 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Sun, 7 Jan 2001 06:54:51 +0000 Subject: Fix compile warning about const. --- iptables-save.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iptables-save.c') diff --git a/iptables-save.c b/iptables-save.c index a97d4481..2e716e1e 100644 --- a/iptables-save.c +++ b/iptables-save.c @@ -175,7 +175,7 @@ static void print_rule(const struct ipt_entry *e, printf("-j %s ", iptc_get_target(e, h)); /* Print targinfo part */ - t = ipt_get_target(e); + t = ipt_get_target((struct ipt_entry *)e); if (t->u.user.name[0]) { struct iptables_target *target = find_target(t->u.user.name, TRY_LOAD); -- cgit v1.2.3