commit | 082ba02f9ce9c64bb4beb76f7075e7324d738e41 | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@linuxcare.com.au> | Sun Jan 07 06:54:51 2001 +0000 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Sun Jan 07 06:54:51 2001 +0000 |
tree | 82420220e28234aaf6c97b763f1be33d6ec777ae | |
parent | 5df9bdad1cc0e08c54466dc3c16a01a5382160a6 [diff] [blame] |
Fix compile warning about const.
diff --git a/iptables-save.c b/iptables-save.c index a97d448..2e716e1 100644 --- a/iptables-save.c +++ b/iptables-save.c
@@ -175,7 +175,7 @@ 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);